Skip to content

Commit e336d03

Browse files
committed
Add gap for timestamp to update
1 parent a14ad28 commit e336d03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/L0_model_update/instance_update_test.py

+1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def test_cpu_instance_update(self):
163163
self.__update_instance_count(0, 4) # remove 4 instances
164164
self.__update_instance_count(0, 3) # remove 3 instances
165165
self.__update_instance_count(0, 0) # no change
166+
time.sleep(0.1) # larger the gap for config.pbtxt timestamp to update
166167
self.__update_instance_count(2, 0) # add 2 instances
167168
self.__update_instance_count(5, 0) # add 5 instances
168169
self.__unload_model()

0 commit comments

Comments
 (0)