Skip to content

Commit 81bee97

Browse files
committed
Add assert message
1 parent ca08bfe commit 81bee97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/tests/test_bash_ioc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ def restart_ioc(
7171
# Detach by not waiting for the thread to finish
7272

7373
LOG.debug("ioc1-1 restart")
74-
assert wait_for_sync(cf_client, lambda cf_client: check_channel_property(cf_client, name=channel_name))
75-
LOG.debug("ioc1-1 has restarted and synced")
74+
assert wait_for_sync(cf_client, lambda cf_client: check_channel_property(cf_client, name=channel_name)), (
75+
"ioc1-1 failed to restart and sync"
76+
)
7677

7778

7879
class TestRemoveInfoTag:

0 commit comments

Comments
 (0)