clientv3/integration: fix TestKVPutError
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.3
parent
6bfde98be7
commit
88fe8de99b
|
@ -40,7 +40,7 @@ func TestKVPutError(t *testing.T) {
|
||||||
maxReqBytes = 1.5 * 1024 * 1024 // hard coded max in v3_server.go
|
maxReqBytes = 1.5 * 1024 * 1024 // hard coded max in v3_server.go
|
||||||
quota = int64(int(maxReqBytes) + 8*os.Getpagesize())
|
quota = int64(int(maxReqBytes) + 8*os.Getpagesize())
|
||||||
)
|
)
|
||||||
clus := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1, QuotaBackendBytes: quota})
|
clus := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1, QuotaBackendBytes: quota, ClientMaxCallSendMsgSize: 100 * 1024 * 1024})
|
||||||
defer clus.Terminate(t)
|
defer clus.Terminate(t)
|
||||||
|
|
||||||
kv := clus.RandClient()
|
kv := clus.RandClient()
|
||||||
|
|
Loading…
Reference in New Issue