Skip to content

Commit

Permalink
feat(rlp): add helpful assert message upon client init error (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz authored May 30, 2024
1 parent a4b68e8 commit c82ce6e
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit c82ce6e

Please sign in to comment.