berty / go-orbit-db

Go version of P2P Database on IPFS
https://berty.tech
Apache License 2.0
420 stars 57 forks source link

Test TestReplicateAutomatically fails randomly #150

Open D4ryl00 opened 7 months ago

D4ryl00 commented 7 months ago

Is there an existing issue for this?

Package version

current

Golang version

go1.21

Bug description

This test fails at most 1 in 300 times. When it fails, it's because it hangs.

Current behavior

TestReplicateAutomatically hangs and fails.

Expected behavior

TestReplicateAutomatically passes.

Environment

CI macOS, linux

Other

No response

jefft0 commented 7 months ago

The cause of the failure may be related to problem reported in https://github.com/berty/weshnet/issues/98 .

jefft0 commented 1 month ago

The issue reported in https://github.com/berty/weshnet/issues/98 has been resolved. We should check again if this is still failing randomly.

jefft0 commented 1 month ago

@jefft0 to log into the CI server and try again.

jefft0 commented 1 month ago

In the ssh-running on the CI node, I ran go test -v -count=300 -run TestReplicateAutomatically ./... . It still hangs after about 100 repetitions of the test.