kubo/test/cli/testutils
Gus Eggert 03a98280e3 test: port twonode test to Go, remove multinode test
The multinode test is effectively the same as the twonode test. There
are some problems with it too: it *looks* like it's testing the
Websocket transport with the "listentype,ws" IPTB attribute, but that
attribute doesn't actually exist in ipfs/iptb-plugins, so it does
nothing, so that test actually just runs the same test twice (Yamux
disabled). Furthermore, this is just the same test as in the mplex
twonode test. So this just removes the useless multinode test
entirely.

Also, this removes the part of the twonode test that checks the amount
of data transferred over Bitswap. This is an implementation detail of
Bitswap, it's not appropriate to test this in an end-to-end test as it
depends on algorithmic details of how Bitswap works, and has nothing
to do with transports. This is probably more appropriate as a perf or
benchmark test of Bitswap.

This also moves equivalent functionality from jbenet/go-random-files
into the testutils package. This just copies the code and modifies it
slightly for better ergonomics.
2023-04-10 14:57:15 -04:00
..
pinningservice test: port remote pinning tests to Go (#9720) 2023-03-30 07:46:35 -04:00
asserts.go test: fix flaky rcmgr test 2023-03-15 22:45:56 -04:00
cids.go feat: add basic CLI tests using Go Test 2022-12-12 09:43:09 -05:00
files.go feat: port pins CLI test 2022-12-16 07:39:52 -05:00
json.go feat: port pins CLI test 2022-12-16 07:39:52 -05:00
random_files.go test: port twonode test to Go, remove multinode test 2023-04-10 14:57:15 -04:00
random.go feat: add experimental optimistic provide 2023-04-06 16:49:46 -04:00
requires.go chore: upgrade OpenTelemetry dependencies (#9736) 2023-04-05 11:44:14 +00:00
strings.go test: port peering test from sharness to Go 2023-03-13 10:54:53 -04:00