kubo/test/cli
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
..
fixtures refactor: switch gateway code to new API from go-libipfs (#9681) 2023-03-30 13:20:37 +00:00
harness feat: add experimental optimistic provide 2023-04-06 16:49:46 -04:00
testutils test: port twonode test to Go, remove multinode test 2023-04-10 14:57:15 -04:00
basic_commands_test.go feat: Reduce RM code footprint 2023-03-06 12:46:58 +01:00
completion_test.go feat: add basic CLI tests using Go Test 2022-12-12 09:43:09 -05:00
content_routing_http_test.go test: fix flaky content routing over HTTP test (#9772) 2023-04-05 11:10:32 +00:00
delegated_routing_http_test.go feat: add client-side metrics for routing-v1 client 2023-03-27 18:19:28 -04:00
dht_autoclient_test.go test: fix autoclient flakiness (#9769) 2023-03-29 11:56:25 -04:00
dht_legacy_test.go test: port routing DHT tests to Go (#9709) 2023-03-29 19:28:55 -04:00
dht_opt_prov_test.go feat: add experimental optimistic provide 2023-04-06 16:49:46 -04:00
gateway_range_test.go refactor: switch gateway code to new API from go-libipfs (#9681) 2023-03-30 13:20:37 +00:00
gateway_test.go feat: remove writable gateway (#9743) 2023-03-27 15:19:55 +02:00
init_test.go feat!: make --empty-repo default (#9758) 2023-03-31 15:06:23 +02:00
must.go test: port remote pinning tests to Go (#9720) 2023-03-30 07:46:35 -04:00
peering_test.go feat: add identify option to swarm peers command 2023-03-30 04:34:57 +00:00
ping_test.go feat: add basic CLI tests using Go Test 2022-12-12 09:43:09 -05:00
pinning_remote_test.go test: port remote pinning tests to Go (#9720) 2023-03-30 07:46:35 -04:00
pins_test.go feat: port pins CLI test 2022-12-16 07:39:52 -05:00
rcmgr_test.go fix: future proof with > rcmgr.DefaultLimit for new enum rcmgr values 2023-03-16 13:41:24 +01:00
routing_dht_test.go test: port routing DHT tests to Go (#9709) 2023-03-29 19:28:55 -04:00
stats_test.go fix: stats dht command when Routing.Type=auto (#9538) 2023-01-13 00:38:38 +01:00
swarm_test.go feat: add identify option to swarm peers command 2023-03-30 04:34:57 +00:00
tracing_test.go chore: upgrade OpenTelemetry dependencies (#9736) 2023-04-05 11:44:14 +00:00
transports_test.go test: port twonode test to Go, remove multinode test 2023-04-10 14:57:15 -04:00