[automated-testing] Marking tests for skipping based on test environment

Nigel Babu nigelb at redhat.com
Fri Jun 15 12:36:08 UTC 2018


Vijay and I have been talking about how to handle cases where a test cases
passes in one test environment and not in the other. Here's a proposal that
we both came up with:

We will add a test_env variable to the config which will have the value
'upstream' or 'downstream'. Then in the code it will work something like
this: https://gist.github.com/nigelbabu/23bc80108c0f633b483b1a1d024ddd98

Please suggest feedback and/or suggestions for improvement.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/automated-testing/attachments/20180615/f8c5b320/attachment.html>

More information about the automated-testing mailing list