Skip to content

Commit 4d33491

Browse files
committed
update test
1 parent b17d64a commit 4d33491

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/tests/bouncer/test_custom_bouncer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_no_lapi(bouncer, cb_stream_cfg_factory):
4848
[
4949
"*connection refused*",
5050
"*terminating bouncer process*",
51-
"*process terminated with error: bouncer stream halted*",
51+
"*process terminated with error*",
5252
]
5353
)
5454

@@ -66,7 +66,7 @@ def test_bad_api_key(crowdsec, bouncer, cb_stream_cfg_factory):
6666
"*Using API key auth*",
6767
"*Processing new and deleted decisions . . .*",
6868
"*auth-api: auth with api key failed return nil response, error*",
69-
"*process terminated with error: bouncer stream halted*",
69+
"*process terminated with error: .* connection refused*",
7070
]
7171
)
7272
cb.proc.wait()

test/tests/bouncer/test_yaml_local.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def test_yaml_local(bouncer, cb_stream_cfg_factory):
1515
with bouncer(cfg, config_local=config_local) as cb:
1616
cb.wait_for_lines_fnmatch(
1717
[
18-
"*connection refused*",
19-
"*terminating bouncer process*",
20-
"*bouncer stream halted*",
18+
"*custom program terminated*",
19+
"*shutting down custom-bouncer service*",
20+
"*process terminated with error*",
2121
]
2222
)

0 commit comments

Comments
 (0)