dubeejw opened a new issue #3137: WskAdminTests test subjects not clean before 
test runs
URL: https://github.com/apache/incubator-openwhisk/issues/3137
 
 
   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"
   ```
   
   Test reference:
   
https://github.com/apache/incubator-openwhisk/blob/0f679adcf8cf1f29fde8f99c16f66a98e3ec021f/tests/src/test/scala/whisk/core/admin/WskAdminTests.scala#L114

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to