Skip to content

Additional fixes to integration tests#8069

Merged
hickeng merged 3 commits intovmware:masterfrom
hickeng:8067
Jun 19, 2018
Merged

Additional fixes to integration tests#8069
hickeng merged 3 commits intovmware:masterfrom
hickeng:8067

Conversation

@hickeng
Copy link
Contributor

@hickeng hickeng commented Jun 17, 2018

This builds on #8047 and #8063 to address some outstanding issues left by
that work. In the case of the hetrogeneous and NFS tests, it is test
updates necessitated by the prior Nimbus-Util.robot updates.
In the case of the VSAN tests it is addressing removal of a non-existent
path and switching to use the related testbed spec.

Towards #8067

@hickeng hickeng requested a review from a team as a code owner June 17, 2018 21:47
This builds on vmware#8047 and vmware#8063 to address some outstanding issues left by
that work. In the case of the hetrogeneous and NFS tests, it is test
updates necessitated by the prior Nimbus-Util.robot updates.
In the case of the VSAN tests it is addressing removal of a non-existent
path and switching to use the related testbed spec.
@hickeng hickeng force-pushed the 8067 branch 2 times, most recently from 57fff05 to 474fcbc Compare June 17, 2018 23:10
# Simple wrapper to Wait Until Keyword Succeeds that allows callers to:
# * use default retry count and delay
# * specify specific retry counts and delays
# * robot framework executor to override both the above via the following environment variables:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: This documentation reads a bit awkwardly. ("Simple wrapper to Wait Until Keyword Succeeds that allows callers to ... robot framework executor to override ...")

${useAttempts}= Get Environment Variable NIMBUS_RETRY_ATTEMPTS ${attempts}
${useDelay}= Get Environment Variable NIMBUS_RETRY_DELAY ${delay}

Wait Until Keyword Succeeds ${useAttempts} ${useDelay} ${keyword} @{varargs} No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing newline at end of file

@@ -1,3 +1,5 @@
require ‘testframeworks/testng/testng’
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stupid question: is this the correct type of quotation mark for this context?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've no idea - I was given it by someone from the channel. I've dropped this file entirely in favour of a simpler construction.

@hickeng hickeng force-pushed the 8067 branch 4 times, most recently from 465755b to 961f1b5 Compare June 18, 2018 23:46
This uses a testbed descriptor based off the vic-simple-cluster spec
instead of what appeared to be a library spec, testng/testbeds/vsan.rb.

This disabled the complex vSAN testsuite at this time as I could not infer
what the complex case was testing, and it is not in the test doc. It's
possible that it's testing multiple vSAN datastores and our ability to use
either but that's pure speculation.
@hickeng hickeng merged commit d533414 into vmware:master Jun 19, 2018
zjs pushed a commit to zjs/vic that referenced this pull request Jul 19, 2018
This builds on vmware#8047 and vmware#8063 to address some outstanding issues left by
that work. In the case of the hetrogeneous and NFS tests, it is test
updates necessitated by the prior Nimbus-Util.robot updates.

In the case of the VSAN tests it switches to using a testbed descriptor
based off the vic-simple-cluster spec instead of what appeared to be a
library spec, testng/testbeds/vsan.rb.

This disables the complex vSAN testsuite at this time as I could not infer
what the complex case was testing, and it is not in the test doc. It's
possible that it's testing multiple vSAN datastores and our ability to use
either but that's pure speculation.

(cherry picked from commit d533414)
zjs pushed a commit to zjs/vic that referenced this pull request Jul 27, 2018
This builds on vmware#8047 and vmware#8063 to address some outstanding issues left by
that work. In the case of the hetrogeneous and NFS tests, it is test
updates necessitated by the prior Nimbus-Util.robot updates.

In the case of the VSAN tests it switches to using a testbed descriptor
based off the vic-simple-cluster spec instead of what appeared to be a
library spec, testng/testbeds/vsan.rb.

This disables the complex vSAN testsuite at this time as I could not infer
what the complex case was testing, and it is not in the test doc. It's
possible that it's testing multiple vSAN datastores and our ability to use
either but that's pure speculation.

(cherry picked from commit d533414)
zjs pushed a commit that referenced this pull request Jul 27, 2018
This builds on #8047 and #8063 to address some outstanding issues left by
that work. In the case of the hetrogeneous and NFS tests, it is test
updates necessitated by the prior Nimbus-Util.robot updates.

In the case of the VSAN tests it switches to using a testbed descriptor
based off the vic-simple-cluster spec instead of what appeared to be a
library spec, testng/testbeds/vsan.rb.

This disables the complex vSAN testsuite at this time as I could not infer
what the complex case was testing, and it is not in the test doc. It's
possible that it's testing multiple vSAN datastores and our ability to use
either but that's pure speculation.

(cherry picked from commit d533414)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants