You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2023. It is now read-only.
The last step is collecting no messages, leading to a panic:
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
goroutine 391 [running]:
testing.tRunner.func1.2(0x86de00, 0xc00002c288)
/usr/lib/go/src/testing/testing.go:1143 +0x332
testing.tRunner.func1(0xc000083b00)
/usr/lib/go/src/testing/testing.go:1146 +0x4b6
panic(0x86de00, 0xc00002c288)
/usr/lib/go/src/runtime/panic.go:965 +0x1b9
github.com/ipfs/go-bitswap/internal/messagequeue.TestWantlistRebroadcast(0xc000083b00)
/home/steb/src/github.com/ipfs/go-bitswap/internal/messagequeue/messagequeue_test.go:451 +0xd3b
testing.tRunner(0xc000083b00, 0x9dac48)
/usr/lib/go/src/testing/testing.go:1193 +0xef
created by testing.(*T).Run
/usr/lib/go/src/testing/testing.go:1238 +0x2b3
exit status 2
FAIL github.com/ipfs/go-bitswap/internal/messagequeue 5.428s
To reproduce, run go test -count 100 -run TestWantlistRebroadcast.