Skip to content

Commit

Permalink
reoved t *testing.T
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Nov 10, 2023
1 parent 68a90d8 commit a393eab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blox/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"context"
"fmt"
"math/rand"
"testing"
"time"

"github.com/functionland/go-fula/blox"
Expand All @@ -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()
Expand Down

0 comments on commit a393eab

Please sign in to comment.