Skip to content

Commit

Permalink
Add gap for file timestamp update
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed May 24, 2023
1 parent efd8197 commit 11db1d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qa/L0_model_update/instance_update_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def test_gpu_cpu_instance_update(self):
self.__update_instance_count(
0, 0,
"{\ncount: 3\nkind: KIND_GPU\n},\n{\ncount: 1\nkind: KIND_CPU\n}")
time.sleep(0.1) # larger the gap for config.pbtxt timestamp to update
# Remove 1 GPU instance and add 1 CPU instance
self.__update_instance_count(
1, 1,
Expand Down

0 comments on commit 11db1d2

Please sign in to comment.