Commit ad9a1d54 authored by Rich Prohaska's avatar Rich Prohaska

tweek the test. addresses #923

git-svn-id: file:///svn/tokudb@4718 c7de825b-a66e-492c-adef-691d508d4ae1
parent 76c2dff0
...@@ -60,7 +60,8 @@ void do_times(long long times[], int n) { ...@@ -60,7 +60,8 @@ void do_times(long long times[], int n) {
// verify that the times are within a factor of 10 of the medium time // verify that the times are within a factor of 10 of the medium time
// skip the first startup time // skip the first startup time
for (i=1; i<n; i++) { // sometimes the second time fails under valgrind
for (i=2; i<n; i++) {
long long t = times[i] - xtimes[n/2]; long long t = times[i] - xtimes[n/2];
if (t < 0) t = -t; if (t < 0) t = -t;
if (t > 10*xtimes[n/2]) { if (t > 10*xtimes[n/2]) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment