Skip to content

Commit fe69172

Browse files
committed
Add gap for file timestamp update
1 parent 133792d commit fe69172

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

0 commit comments

Comments
 (0)