File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ func TestFlushOnClose(t *testing.T) {
104
104
}
105
105
106
106
func TestPooledSenderDoubleClose (t * testing.T ) {
107
- p , err := qdb .PoolFromConf ("http::addr=localhost:1234" )
107
+ p , err := qdb .PoolFromConf ("http::addr=localhost:1234;protocol_version=1; " )
108
108
require .NoError (t , err )
109
109
110
110
ctx := context .Background ()
@@ -122,7 +122,7 @@ func TestPooledSenderDoubleClose(t *testing.T) {
122
122
123
123
func TestMaxPoolSize (t * testing.T ) {
124
124
// Create a pool with 2 max senders
125
- p , err := qdb .PoolFromConf ("http::addr=localhost:1234" , qdb .WithMaxSenders (3 ))
125
+ p , err := qdb .PoolFromConf ("http::addr=localhost:1234;protocol_version=1; " , qdb .WithMaxSenders (3 ))
126
126
require .NoError (t , err )
127
127
128
128
ctx := context .Background ()
You can’t perform that action at this time.
0 commit comments