Skip to content

Commit 8586c05

Browse files
committed
Add gap for file timestamp update
1 parent 2c4d8f8 commit 8586c05

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
@@ -209,6 +209,7 @@ def test_gpu_cpu_instance_update(self):
209209
self.__update_instance_count(
210210
0, 0,
211211
"{\ncount: 3\nkind: KIND_GPU\n},\n{\ncount: 1\nkind: KIND_CPU\n}")
212+
time.sleep(0.1) # larger the gap for config.pbtxt timestamp to update
212213
# Remove 1 GPU instance and add 1 CPU instance
213214
self.__update_instance_count(
214215
1, 1,

0 commit comments

Comments
 (0)