etcd-tester: flag consistency-check

This commit is contained in:
Gyu-Ho Lee
2016-04-22 22:22:12 -07:00
parent 90f91ac8ac
commit 151d0d3831
2 changed files with 12 additions and 7 deletions

View File

@ -33,7 +33,7 @@ func main() {
stressKeySuffixRange := flag.Int("stress-key-count", 250000, "the count of key range written into etcd.")
limit := flag.Int("limit", 3, "the limit of rounds to run failure set.")
schedCases := flag.String("schedule-cases", "", "test case schedule")
consistencyCheck := flag.Bool("consistency-check", true, "true to check consistency (revision, hash)")
isV2Only := flag.Bool("v2-only", false, "'true' to run V2 only tester.")
flag.Parse()
@ -73,9 +73,10 @@ func main() {
}
t := &tester{
failures: schedule,
cluster: c,
limit: *limit,
failures: schedule,
cluster: c,
limit: *limit,
consistencyCheck: *consistencyCheck,
}
sh := statusHandler{status: &t.status}