chore: fix connection error message (#50)

This commit is contained in:
fbarbu15 2024-07-03 11:14:00 +03:00 committed by GitHub
parent 0ce2572810
commit 95f8a791fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class TestReliability(StepsStore):
assert len(store_response.messages) == 1
except Exception as ex:
if self.store_node1.is_gowaku():
assert "failed to dial: context deadline exceeded" in str(ex)
assert "failed to dial: context deadline exceeded" in str(ex) or "connection failed" in str(ex)
else:
raise AssertionError(f"Nwaku failed with {ex}")