Skip to content

Agent Mesh

enable relay on tests

Antonio Ojea802da61b68a7
diff --git a/tests/integration/failover_test.go b/tests/integration/failover_test.go
index 1a7128ef..80d1a326 100644
--- a/tests/integration/failover_test.go
+++ b/tests/integration/failover_test.go
@@ -198,7 +198,7 @@ roles: {}
t.Log("Node B successfully reconnected to Hub B!")
// Final verification: Ensure we can actually reach Node B via the Hub B relay
- clientHost, err := libp2p.New(libp2p.NoListenAddrs)
+ clientHost, err := libp2p.New(libp2p.NoListenAddrs, libp2p.EnableRelay())
if err != nil {
t.Fatal(err)
}