17 Commits

Author SHA1 Message Date
Marten Seemann
4f56e8f0a7
update go-libp2p to v0.22.0 (#498)
* update go-libp2p to v0.22.0

* skip TestGossipsubConnTagMessageDeliveries
2022-08-26 02:45:41 -07:00
Ian Davis
2efd313b83
cleanup: fix vet and staticcheck failures (#435)
* cleanup: fix vet failures and most staticcheck failures

* Fix remaining staticcheck failures

* Give test goroutines chance to exit early when context is canceled
2021-07-22 15:27:32 -07:00
vyzo
37e77dc51e skip flaky test until we can fix it 2021-03-31 17:53:46 +03:00
vyzo
d6c20b59fc remove multi-topic message support 2020-10-08 20:18:21 +03:00
vyzo
9a5528b3ec reinstate tagging (now protection) tests 2020-06-03 23:30:48 +03:00
vyzo
f465fc0e41 disable tests for direct/mesh tags, we don't have an interface to query the connman yet
I hate disabling tests, so this should be very temporary.
2020-06-03 23:30:48 +03:00
Yusef Napora
ef50cbbdd7 sleep in test after bumping fake clock 2020-05-19 19:26:53 +03:00
Yusef Napora
d57a6c23da better range check for expected value in test 2020-05-19 19:26:53 +03:00
Yusef Napora
767692b3f6 loosen test expectations to appease travis 2020-05-19 19:26:53 +03:00
Yusef Napora
cddb5c83a4 this is getting a bit silly 2020-05-19 19:26:53 +03:00
Yusef Napora
f0bb2c8ae5 play with test timing on travis 2020-05-19 19:26:53 +03:00
Yusef Napora
8bb5ed7e20 add delay in TestTagTracerDeliveryTags 2020-05-19 19:26:53 +03:00
Yusef Napora
b20819d046 close decaying tags when leaving topic 2020-05-19 19:26:53 +03:00
Yusef Napora
6a259a02fd sort imports 2020-05-19 19:26:53 +03:00
Yusef Napora
9c730661bc add delivery tags for "near-first" msg deliveries 2020-05-19 19:26:53 +03:00
Yusef Napora
51369f756f increase decaying tag interval 2020-05-19 19:26:53 +03:00
Yusef Napora
f37c6b801c unit tests for tagTracer 2020-05-19 19:26:53 +03:00