Skip to content

Commit a1e2c89

Browse files
Copilotdwoz
andauthored
Fix test_reauth: use sls_tempfile as context manager so the SLS file is actually written
Agent-Logs-Url: https://github.com/saltstack/salt/sessions/924c9724-9060-401b-8bea-b556ed53854e Co-authored-by: dwoz <1527763+dwoz@users.noreply.github.com>
1 parent 70d20f6 commit a1e2c89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/pytests/integration/minion/test_reauth.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def handler(data):
4545
)
4646
cli = master.salt_cli()
4747
start_time = time.time()
48-
with master.started(), minion.started():
48+
with master.started(), minion.started(), sls_tempfile:
4949
events = event_listener.get_events(
5050
[(master.id, "salt/auth")],
5151
after_time=start_time,

0 commit comments

Comments
 (0)