Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rlp): add helpful assert message upon client initialization error in simulator #578

Merged
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
6 changes: 5 additions & 1 deletion tests_consume/test_via_rlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@ def client(
client_type=client_type, environment=environment, files=client_files
)
timing_data.start_client = time.perf_counter() - t_start
assert client is not None
error_message = (
f"Unable to connect to the client container ({client_type.name}) via Hive during test "
"setup. Check the client or Hive server logs for more information."
)
assert client is not None, error_message
yield client
t_start = time.perf_counter()
client.stop()
Expand Down