Skip to content

Commit 2987b4d

Browse files
committed
Add gap for file timestamp update
1 parent 5b9ae08 commit 2987b4d

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
@@ -205,6 +205,7 @@ def test_gpu_cpu_instance_update(self):
205205
self.__update_instance_count(
206206
0, 0,
207207
"{\ncount: 3\nkind: KIND_GPU\n},\n{\ncount: 1\nkind: KIND_CPU\n}")
208+
time.sleep(0.1) # larger the gap for config.pbtxt timestamp to update
208209
# Remove 1 GPU instance and add 1 CPU instance
209210
self.__update_instance_count(
210211
1, 1,

0 commit comments

Comments
 (0)