We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68be276 commit 7601a52Copy full SHA for 7601a52
tests/client/test_stdio.py
@@ -275,6 +275,13 @@ async def test_basic_child_process_cleanup(self):
275
parent_marker = f.name
276
277
try:
278
+ # Before starting any processes, the file should not grow. This also
279
+ # exercises the timeout/loop paths in _wait_for_file_growth for branch
280
+ # coverage.
281
+ initial_size = os.path.getsize(marker_file)
282
+ size_no_growth = await self._wait_for_file_growth(marker_file, initial_size, timeout_seconds=0.15)
283
+ assert size_no_growth == initial_size
284
+
285
# Parent script that spawns a child process
286
parent_script = textwrap.dedent(
287
f"""
0 commit comments