Skip to content

Commit df8ccec

Browse files
committed
fixes flaky signal tests in pipelines
1 parent e56f617 commit df8ccec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/pipeline/test_pipeline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4003,6 +4003,7 @@ def _thread() -> None:
40034003
while not pipeline.collector.step or not pipeline.collector.step.startswith("Load"):
40044004
signals.sleep(0.1)
40054005

4006+
signals.sleep(1)
40064007
# send signal to drain pool and stop load
40074008
os.kill(os.getpid(), sig)
40084009

@@ -4217,6 +4218,7 @@ def _thread() -> None:
42174218
while not pipeline.collector.step or not pipeline.collector.step.startswith("Load"):
42184219
signals.sleep(0.1)
42194220

4221+
signals.sleep(1)
42204222
# send signal to drain pool and stop load
42214223
os.kill(os.getpid(), sig)
42224224

0 commit comments

Comments
 (0)