Skip to content

Commit

Permalink
Merge branch 'master' into deps-20250220
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel authored Feb 20, 2025
2 parents d12bed6 + bdc3815 commit 99e1787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1577,9 +1577,9 @@ func TestInvalidServer(t *testing.T) {
if !s1Found {
t.Fatal("Well behaving DHT server should have been added to the server routing table")
}
if s0.routingTable.Find(m1.self) != "" {
if s0.routingTable.Find(m1.self) != "" && s0.routingTable.Find(m0.self) != "" {
t.Log("s0:", s0.self, ", s1:", s1.self, ", m0:", m0.self, ", m1:", m1.self)
t.Log("Routing Table peers", m0.routingTable.ListPeers())
t.Log("Routing Table peers", s0.routingTable.ListPeers())
t.Fatal("Misbehaving DHT servers should not be added to routing table if well populated")
}
}
Expand Down

0 comments on commit 99e1787

Please # to comment.