Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/jobs/test_triggerer_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ def __init__(self, password, **kwargs):
finally:
# We always have to stop the runner
triggerer_job_runner.trigger_runner.stop = True
# Since we have now an in-memory process of forwarding the logs to stdout,
# give it more time for the trigger event to write the log.
time.sleep(0.5)
stdout = capsys.readouterr().out

assert "test_dag/test_run/sensitive_arg_task/-1/1 (ID 1) starting" in stdout
assert "some_password" not in stdout

Expand Down