mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
the kubo-as-a-library example was flaky on CI. applied test-harness-like settings that match what transports_test.go uses: - TCP-only on 127.0.0.1 with random port (no QUIC/UDP) - explicitly disable non-TCP transports (QUIC, Relay, WebTransport, etc) - use NilRouterOption (no routing) since we connect peers directly - bitswap works with directly connected peers without DHT lookups - 2-minute context timeout - streaming output in test for debugging |
||
|---|---|---|
| .. | ||
| example-folder | ||
| kubo-as-a-library | ||
| go-ipfs-as-a-library | ||