From a393eab91dacdb44a8e60bebc6c5ab489b5199ea Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Fri, 10 Nov 2023 18:22:26 -0500 Subject: [PATCH] reoved t *testing.T --- blox/example_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blox/example_test.go b/blox/example_test.go index 7a56733c..9a4bb126 100644 --- a/blox/example_test.go +++ b/blox/example_test.go @@ -5,7 +5,6 @@ import ( "context" "fmt" "math/rand" - "testing" "time" "github.com/functionland/go-fula/blox" @@ -22,7 +21,7 @@ import ( // Example_poolDiscoverPeersViaPubSub starts a pool named "1" across three nodes, connects two of the nodes to // the other one to facilitate a path for pubsub to propagate and shows all three nodes discover // each other using pubsub. -func Example_poolDiscoverPeersViaPubSub(t *testing.T) { +func Example_poolDiscoverPeersViaPubSub() { const poolName = "1" ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second) defer cancel()