Skip to content

Commit c5df98a

Browse files
committed
TESTING
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent b63cf71 commit c5df98a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/refresh_script.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
# file3.txt is delegated so we end up exercising all metadata load paths
1414
u.get_targetinfo("file3.txt")
1515
except OSError as e:
16-
sys.exit(f"Failed on iteration {i}: {e}")
16+
print(f"Failed on iteration {i}")
17+
raise e

tests/test_updater_ng.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def test_parallel_updaters(self) -> None:
362362
# Refresh two updaters in parallel many times, using the same local metadata cache.
363363
# This should reveal race conditions.
364364

365-
iterations = 100
365+
iterations = 1000
366366

367367
# The project root is the parent of the tests directory
368368
project_root = os.path.dirname(utils.TESTS_DIR)

0 commit comments

Comments
 (0)