Add delay for multiple netCfg updates
Change-Id: I98889fc81cb6c0d33be1499ee966b921d200c776
diff --git a/TestON/tests/FUNCnetCfg/FUNCnetCfg.py b/TestON/tests/FUNCnetCfg/FUNCnetCfg.py
index 30cbd32..ec40b90 100644
--- a/TestON/tests/FUNCnetCfg/FUNCnetCfg.py
+++ b/TestON/tests/FUNCnetCfg/FUNCnetCfg.py
@@ -655,6 +655,7 @@
"""
Testing removal of configurations
"""
+ import time
try:
assert main.s1Json, "s1Json not defined"
assert main.s2Json, "s2Json not defined"
@@ -679,6 +680,7 @@
s2Json = main.s2Json # NOTE: This is a reference
try:
+ time.sleep( main.gossipTime )
del s2Json['allowed']
except KeyError:
main.log.exception( "Key not found" )
@@ -689,6 +691,7 @@
s3Json = main.s3Json # NOTE: This is a reference
try:
+ time.sleep( main.gossipTime )
del s3Json['allowed']
except KeyError:
main.log.exception( "Key not found" )
@@ -699,6 +702,7 @@
s4Json = main.s4Json # NOTE: This is a reference
try:
+ time.sleep( main.gossipTime )
del s4Json['allowed']
except KeyError:
main.log.exception( "Key not found" )