Integration test: Fix bond rollback test
The `bond_test.py::test_rollback_for_bond` will randomly fail as `eth2` might not able to be up in 2 seconds. The fix would be extend to wait time from 2 seconds to 5 seconds(tested in 100 times). Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
7e32e7e97d
commit
1055409c91
@ -165,7 +165,7 @@ def test_rollback_for_bond(eth1_up, eth2_up):
|
||||
with pytest.raises(netapplier.DesiredStateIsNotCurrentError):
|
||||
netapplier.apply(desired_state)
|
||||
|
||||
time.sleep(2)
|
||||
time.sleep(5)
|
||||
|
||||
current_state_after_apply = netinfo.show()
|
||||
assert current_state == current_state_after_apply
|
||||
|
Loading…
x
Reference in New Issue
Block a user