Skip to content

Commit 19211f4

Browse files
committed
Adjust tests to use one url to work with substarte integration tests for now
1 parent bb36e80 commit 19211f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clients/tfchain-client-go/impl_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func TestPoolInitialization(t *testing.T) {
16-
urls := []string{"ws://127.0.0.1:9944", "ws://127.0.0.1:9945", "ws://127.0.0.1:9946"}
16+
urls := []string{"ws://127.0.0.1:9944"}
1717
mgr := NewManager(urls...)
1818
defer mgr.Close()
1919

@@ -59,7 +59,7 @@ func TestConnectionReuse(t *testing.T) {
5959
}
6060

6161
func TestConcurrentAccess(t *testing.T) {
62-
mgr := NewManager("ws://127.0.0.1:9944", "ws://127.0.0.1:9945")
62+
mgr := NewManager("ws://127.0.0.1:9944")
6363
defer mgr.Close()
6464

6565
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
@@ -131,7 +131,7 @@ func TestStressWithFailures(t *testing.T) {
131131
ConnectionTimeout: time.Second,
132132
}
133133

134-
mgr := NewManagerWithConfig(config, "ws://127.0.0.1:9944", "ws://127.0.0.1:9945")
134+
mgr := NewManagerWithConfig(config, "ws://127.0.0.1:9944")
135135
defer mgr.Close()
136136

137137
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)

0 commit comments

Comments
 (0)