瀏覽代碼

Use a smaller number of trials, and a larger error rate on the large test

dstromberg 14 年之前
父節點
當前提交
f3eac0c4ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test-bloom-filter

+ 1 - 1
test-bloom-filter

@@ -91,7 +91,7 @@ def main():
 
 	all_good &= test(states, trials=100000, error_rate=0.01)
 
-	all_good &= test(random_content, trials=10000000, error_rate=0.001)
+	all_good &= test(random_content, trials=1000000, error_rate=0.1)
 
 	if all_good:
 		sys.stderr.write('%s: All tests passed\n' % sys.argv[0])