Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from arjunravinarayan/fix_ycsb_test_failure
Browse files Browse the repository at this point in the history
ycsb: fix ycsb test failure
  • Loading branch information
rjnn authored Mar 15, 2017
2 parents cb98415 + 00f9b8f commit f458330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ycsb/zipfgenerator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func runZipfGenerators(t *testing.T, withIncrements bool) {
x[i] = int(z.Uint64())
z.zipfGenMu.mu.Lock()
if x[i] < int(z.iMin) || x[i] > int(z.zipfGenMu.iMax) {
t.Fatalf("zipf(%d,%d,%f) rolled %d at index %d and seed %d", z.iMin, z.zipfGenMu.iMax, z.theta, x[i], i, z.seed)
t.Fatalf("zipf(%d,%d,%f) rolled %d at index %d", z.iMin, z.zipfGenMu.iMax, z.theta, x[i], i)
z.zipfGenMu.mu.Unlock()
if withIncrements {
if err := z.IncrementIMax(); err != nil {
Expand Down

0 comments on commit f458330

Please sign in to comment.