summaryrefslogtreecommitdiff
path: root/bench/wtperf/idle_table_cycle.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench/wtperf/idle_table_cycle.c')
-rw-r--r--bench/wtperf/idle_table_cycle.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bench/wtperf/idle_table_cycle.c b/bench/wtperf/idle_table_cycle.c
index 13fa55e86f5..4387860cfb2 100644
--- a/bench/wtperf/idle_table_cycle.c
+++ b/bench/wtperf/idle_table_cycle.c
@@ -80,8 +80,8 @@ cycle_idle_tables(void *arg)
}
for (cycle_count = 0; wtperf->idle_cycle_run; ++cycle_count) {
- snprintf(uri, sizeof(uri),
- "%s_cycle%07d", wtperf->uris[0], cycle_count);
+ testutil_check(__wt_snprintf(uri, sizeof(uri),
+ "%s_cycle%07d", wtperf->uris[0], cycle_count));
/* Don't busy cycle in this loop. */
__wt_sleep(1, 0);
@@ -120,6 +120,7 @@ cycle_idle_tables(void *arg)
return (NULL);
start = stop;
+#if 1
/*
* Drop the table. Keep retrying on EBUSY failure - it is an
* expected return when checkpoints are happening.
@@ -136,6 +137,7 @@ cycle_idle_tables(void *arg)
}
if (check_timing(wtperf, "drop", start, &stop) != 0)
return (NULL);
+#endif
}
return (NULL);