good first issuetesting
描述
The test entitled "block and unblock a user respectively" fails when the namespace testspace containers pre-existing users. This situation can arise if the test was aborted previously without cleaning up the subjects in the namespace. Using the beforeAll method, each namespace used in the suite, testspace, testspace1, testspace2, should be cleared of existing users.
Failure output example:
org.scalatest.exceptions.TestFailedException: "95cc7c53-e0a3-4ec6-8f09-a6d6e10bf4ce:Y1Uhkx1xYFB0ymrXokquAHckNk8ROphVcMiH50YdTEz1Ua6I7kmQJG0hvDGNLtZk
2cbf8758-c9a6-4d56-bf87-58c9a66d5613:nAvoOQB99dlBExF5eY1CjZqIEJY82TtwXFMvr1XO0R2aEfjipK1F3SdJKeIMXlho" did not include substring "92cf9ade-fedd-4dc9-8f9a-defedd3dc946:bis3nKG6ff38v7xQVhZfYO5VHPFZCDeB4T4ERKY7jGsiDuztk2cCOnJafUdrOtc3"
at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
at org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher(Matchers.scala:6668)
at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6704)
at whisk.core.admin.WskAdminTests$$anonfun$5$$anonfun$apply$3.apply(WskAdminTests.scala:127)
at whisk.core.admin.WskAdminTests$$anonfun$5$$anonfun$apply$3.apply(WskAdminTests.scala:124)
Line of failure in test suite: https://github.com/apache/incubator-openwhisk/blob/0f679adcf8cf1f29fde8f99c16f66a98e3ec021f/tests/src/test/scala/whisk/core/admin/WskAdminTests.scala#L127