Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25817

Fix DDLTests.testVerifyMySQL and DDLTests.testCompareMySQL Ambari test failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None
    • None

    Description

      FAILURE! - in org.apache.ambari.server.orm.db.DDLTests in testVerifyMySQL and testCompareMySQL

      [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) 

      Attachments

        Issue Links

          Activity

            People

              hmaurya Himanshu Maurya
              hmaurya Himanshu Maurya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m