[
https://issues.apache.org/jira/browse/AMBARI-25817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhiguo Wu resolved AMBARI-25817.
--------------------------------
Resolution: Fixed
> Fix DDLTests.testVerifyMySQL and DDLTests.testCompareMySQL Ambari test
> failures
> -------------------------------------------------------------------------------
>
> Key: AMBARI-25817
> URL: https://issues.apache.org/jira/browse/AMBARI-25817
> Project: Ambari
> Issue Type: Bug
> Reporter: Himanshu Maurya
> Assignee: Himanshu Maurya
> Priority: Major
> Fix For: 2.8.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> FAILURE! - in org.apache.ambari.server.orm.db.DDLTests in testVerifyMySQL and
> testCompareMySQL
> {code:java}
> [ERROR] testVerifyMySQL(org.apache.ambari.server.orm.db.DDLTests) Time
> elapsed: 0.054 s <<< ERROR!
> com.google.common.util.concurrent.UncheckedExecutionException:
> java.lang.IllegalStateException: Optional.get() cannot be called on an absent
> value
> at org.apache.ambari.server.orm.db.DDLTests.verifyDDL(DDLTests.java:89)
> at
> org.apache.ambari.server.orm.db.DDLTests.testVerifyMySQL(DDLTests.java:60)
> Caused by: java.lang.IllegalStateException: Optional.get() cannot be called
> on an absent value
> at org.apache.ambari.server.orm.db.DDLTests.verifyDDL(DDLTests.java:89)
> at
> org.apache.ambari.server.orm.db.DDLTests.testVerifyMySQL(DDLTests.java:60)
> [ERROR] testCompareMySQL(org.apache.ambari.server.orm.db.DDLTests) Time
> elapsed: 0.047 s <<< ERROR!
> com.google.common.util.concurrent.UncheckedExecutionException:
> java.lang.IllegalStateException: Optional.get() cannot be called on an absent
> value
> at
> org.apache.ambari.server.orm.db.DDLTests.compareAgainstPostgres(DDLTests.java:150)
> at
> org.apache.ambari.server.orm.db.DDLTests.testCompareMySQL(DDLTests.java:134)
> Caused by: java.lang.IllegalStateException: Optional.get() cannot be called
> on an absent value
> at
> org.apache.ambari.server.orm.db.DDLTests.compareAgainstPostgres(DDLTests.java:150)
> at
> org.apache.ambari.server.orm.db.DDLTests.testCompareMySQL(DDLTests.java:134)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]