@@ -137,7 +137,7 @@ func TestConfigs(t *testing.T) {
137
137
}
138
138
139
139
for _ , testPoolConfig := range configList {
140
- // Initialize connectin pool
140
+ // Initialize connection pool
141
141
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
142
142
if err != nil {
143
143
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
@@ -227,7 +227,7 @@ func TestServiceDataIO(t *testing.T) {
227
227
MinConnPoolSize : 1 ,
228
228
}
229
229
230
- // Initialize connectin pool
230
+ // Initialize connection pool
231
231
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
232
232
if err != nil {
233
233
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
@@ -516,7 +516,7 @@ func TestPool_SingleHost(t *testing.T) {
516
516
MinConnPoolSize : 1 ,
517
517
}
518
518
519
- // Initialize connectin pool
519
+ // Initialize connection pool
520
520
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
521
521
if err != nil {
522
522
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
@@ -622,7 +622,7 @@ func TestMultiThreads(t *testing.T) {
622
622
MinConnPoolSize : 1 ,
623
623
}
624
624
625
- // Initialize connectin pool
625
+ // Initialize connection pool
626
626
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
627
627
if err != nil {
628
628
log .Fatal (fmt .Sprintf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ()))
@@ -679,7 +679,7 @@ func TestLoadbalancer(t *testing.T) {
679
679
MinConnPoolSize : 0 ,
680
680
}
681
681
682
- // Initialize connectin pool
682
+ // Initialize connection pool
683
683
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
684
684
if err != nil {
685
685
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
@@ -766,7 +766,7 @@ func TestTimeout(t *testing.T) {
766
766
MinConnPoolSize : 1 ,
767
767
}
768
768
769
- // Initialize connectin pool
769
+ // Initialize connection pool
770
770
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
771
771
if err != nil {
772
772
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
@@ -848,7 +848,7 @@ func TestExecuteJson(t *testing.T) {
848
848
MinConnPoolSize : 1 ,
849
849
}
850
850
851
- // Initialize connectin pool
851
+ // Initialize connection pool
852
852
pool , err := NewConnectionPool (hostList , testPoolConfig , nebulaLog )
853
853
if err != nil {
854
854
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
@@ -964,7 +964,7 @@ func TestReconnect(t *testing.T) {
964
964
MinConnPoolSize : 6 ,
965
965
}
966
966
967
- // Initialize connectin pool
967
+ // Initialize connection pool
968
968
pool , err := NewConnectionPool (hostList , timeoutConfig , nebulaLog )
969
969
if err != nil {
970
970
t .Fatalf ("fail to initialize the connection pool, host: %s, port: %d, %s" , address , port , err .Error ())
0 commit comments