File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clients/tfchain-client-go Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
)
14
14
15
15
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" }
17
17
mgr := NewManager (urls ... )
18
18
defer mgr .Close ()
19
19
@@ -59,7 +59,7 @@ func TestConnectionReuse(t *testing.T) {
59
59
}
60
60
61
61
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" )
63
63
defer mgr .Close ()
64
64
65
65
ctx , cancel := context .WithTimeout (context .Background (), 5 * time .Second )
@@ -131,7 +131,7 @@ func TestStressWithFailures(t *testing.T) {
131
131
ConnectionTimeout : time .Second ,
132
132
}
133
133
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" )
135
135
defer mgr .Close ()
136
136
137
137
ctx , cancel := context .WithTimeout (context .Background (), 3 * time .Second )
You can’t perform that action at this time.
0 commit comments