Skip to content

Commit

Permalink
Merge pull request #11072 from jingyih/automated-cherry-pick-of-#1106…
Browse files Browse the repository at this point in the history
…9-origin-release-3.4

Automated cherry pick of #11069 on release-3.4
  • Loading branch information
xiang90 authored Aug 22, 2019
2 parents 2af1caf + e00224f commit fb6d870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clientv3/integration/kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func TestKVPutError(t *testing.T) {
defer testutil.AfterTest(t)

var (
maxReqBytes = 1.5 * 1024 * 1024 // hard coded max in v3_server.go
quota = int64(int(maxReqBytes) + 8*os.Getpagesize())
maxReqBytes = 1.5 * 1024 * 1024 // hard coded max in v3_server.go
quota = int64(int(maxReqBytes*1.2) + 8*os.Getpagesize()) // make sure we have enough overhead in backend quota. See discussion in #6486.
)
clus := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1, QuotaBackendBytes: quota, ClientMaxCallSendMsgSize: 100 * 1024 * 1024})
defer clus.Terminate(t)
Expand Down

0 comments on commit fb6d870

Please sign in to comment.