Browse Source

Merge pull request #9139 from gyuho/fix-tester

etcd-tester: update stresser weights with txn stresser
Gyuho Lee 8 years ago
parent
commit
745b241a9c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      tools/functional-tester/etcd-tester/key_stresser.go

+ 2 - 3
tools/functional-tester/etcd-tester/key_stresser.go

@@ -81,10 +81,9 @@ func (s *keyStresser) Stress() error {
 	}
 	if s.keyTxnSuffixRange > 0 {
 		// adjust to make up ±70% of workloads with writes
-		stressEntries[0].weight = 0.24
-		stressEntries[1].weight = 0.24
+		stressEntries[0].weight = 0.35
 		stressEntries = append(stressEntries, stressEntry{
-			weight: 0.24,
+			weight: 0.35,
 			f:      newStressTxn(kvc, s.keyTxnSuffixRange, s.keyTxnOps),
 		})
 	}