test_vlan_range
The test has been failing because JSON schema validates restriction in
order that depends on PYTHOHASHSEED. So the fix is to use proper
values with only one incorrect value.
test_non_default_bridge_mapping
The test has been failing because we have a suffix generation for
bridges implemented via counter. We generate a bridge name with a
suffix iterating over networks, and PYTHONHASHSEED affects order of
iteration. So the fix is to do not test bridge names strictly, but
just most important limits.
test_update_networks_meta
The test has been failing because dictionarie's .update() method do
not perform recursive update, and removes some needed keys
(such as 'name') so next network lookup may fail.
TestDeleteIBPImagesTask
The test has been failing because CMD line has files to remove, and
their order depend on PYTHONHASHSEED (since they are extracted as
.keys() from some dictionary structure). So the fix is to perform
smart check for the command line, not strict one.
Closes-Bug: #1496448
Change-Id: I882bbf53f48c842070cb336b1185c40a3dfacc6b
Signed-off-by: Igor Kalnitsky <email address hidden>
Reviewed: https:/ /review. openstack. org/224205 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=2123640a11d b81588086f6df1c f343a81c4800f2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2123640a11db815 88086f6df1cf343 a81c4800f2
Author: Igor Kalnitsky <email address hidden>
Date: Wed Sep 16 18:22:09 2015 +0300
Make Nailgun tests independed from PYTHONHASHSEED
test_vlan_range
The test has been failing because JSON schema validates restriction in
order that depends on PYTHOHASHSEED. So the fix is to use proper
values with only one incorrect value.
test_ non_default_ bridge_ mapping
The test has been failing because we have a suffix generation for
bridges implemented via counter. We generate a bridge name with a
suffix iterating over networks, and PYTHONHASHSEED affects order of
iteration. So the fix is to do not test bridge names strictly, but
just most important limits.
test_ update_ networks_ meta
The test has been failing because dictionarie's .update() method do
not perform recursive update, and removes some needed keys
(such as 'name') so next network lookup may fail.
TestDeleteI BPImagesTask
The test has been failing because CMD line has files to remove, and
their order depend on PYTHONHASHSEED (since they are extracted as
.keys() from some dictionary structure). So the fix is to perform
smart check for the command line, not strict one.
Closes-Bug: #1496448
Change-Id: I882bbf53f48c84 2070cb336b1185c 40a3dfacc6b
Signed-off-by: Igor Kalnitsky <email address hidden>