Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • test

    Description

      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 236.471 s - in org.apache.hadoop.ozone.scm.TestSecretKeysApi
      [INFO] org.apache.hadoop.ozone.scm.TestSecretKeysApi.testSecretKeyApiSuccess  Time elapsed: 75.895 s
      [INFO] org.apache.hadoop.ozone.scm.TestSecretKeysApi.testSecretKeyApiNotEnabled  Time elapsed: 34.304 s
      [INFO] org.apache.hadoop.ozone.scm.TestSecretKeysApi.testSecretKeyAuthorization  Time elapsed: 39.252 s
      [INFO] org.apache.hadoop.ozone.scm.TestSecretKeysApi.testSecretKeyWithoutAuthorization  Time elapsed: 35.811 s
      [INFO] org.apache.hadoop.ozone.scm.TestSecretKeysApi.testSecretKeyAfterSCMFailover  Time elapsed: 51.17 s
      

      Run time can be improved by merging some test cases:

      • All tests except testSecretKeyWithoutAuthorization have hadoop.security.authorization enabled. Thus we can move the assertions from testSecretKeyAuthorization to testSecretKeyApiSuccess.
      • Test "after SCM failover" can be merged into testSecretKeyApiSuccess case as last step. (not really, because the test case uses different expiry config)

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: