Skip to content

Bugfix.failover tests 11 5 4#570

Merged
caphrim007 merged 2 commits intoF5Networks:developmentfrom
pjbreaux:bugfix.failover_tests_11_5_4
Aug 1, 2016
Merged

Bugfix.failover tests 11 5 4#570
caphrim007 merged 2 commits intoF5Networks:developmentfrom
pjbreaux:bugfix.failover_tests_11_5_4

Conversation

@pjbreaux
Copy link
Copy Markdown
Contributor

@zancas
Close #558 before this one!

What's this change do?

Updates failover resource to use new ReduceBooleanPairToTrueMixin to reduce online and offline in that resource and remove local logic that was doing the same thing as the mixin. Also fixed the tests for this resource to teardown properly, leaving the device in an online state.

Any background context?

During functional testing in 11.5.4 device goes to forced offline and does not come back online. We also needed to remove sleeps from these tests to make them more event driven.

Where should the reviewer start?

Tests, then resource changes.

Paul Breaux added 2 commits July 26, 2016 14:05
setup

Issues:
Fixes F5Networks#555

Problem:
We have 8 test failures against 11.5.4 and all but one have the same
signature: Found unexpected json pair at module

Analysis:
After further inspection, it's simply that these collections do not
exist on the 11.5.4 device. Added minimum tmos version to these
collections, so they will not be instantiated by a user. Added some
tests to ensure that the correct exception is raised if a user does try
to instantiate one of these collections.

Tests:
All profile tests are passing on 11.5.4 and 11.6.0
@pjbreaux pjbreaux force-pushed the bugfix.failover_tests_11_5_4 branch from bdca55f to 5d8be4b Compare July 26, 2016 20:06
@pjbreaux pjbreaux assigned caphrim007 and unassigned zancas Jul 26, 2016
@pjbreaux
Copy link
Copy Markdown
Contributor Author

@caphrim007: I've updated this PR with you as the assignee. Let me know if you have the bandwidth to look at it. All changes are for 11.5.4 compatibility.

@pjbreaux
Copy link
Copy Markdown
Contributor Author

pjbreaux commented Aug 1, 2016

I will address your slack comments. Thanks!

@caphrim007
Copy link
Copy Markdown
Contributor

after those are addressed, it should be ready to merge, but i will test again

@caphrim007 caphrim007 merged commit d648642 into F5Networks:development Aug 1, 2016
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