chore: fix connection error message (#50)
This commit is contained in:
parent
0ce2572810
commit
95f8a791fa
|
@ -16,7 +16,7 @@ class TestReliability(StepsStore):
|
||||||
assert len(store_response.messages) == 1
|
assert len(store_response.messages) == 1
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
if self.store_node1.is_gowaku():
|
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:
|
else:
|
||||||
raise AssertionError(f"Nwaku failed with {ex}")
|
raise AssertionError(f"Nwaku failed with {ex}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue