summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/manydbs/manydbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/manydbs/manydbs.c')
-rw-r--r--src/third_party/wiredtiger/test/manydbs/manydbs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/test/manydbs/manydbs.c b/src/third_party/wiredtiger/test/manydbs/manydbs.c
index e485e73067f..c5c9a9a7ccd 100644
--- a/src/third_party/wiredtiger/test/manydbs/manydbs.c
+++ b/src/third_party/wiredtiger/test/manydbs/manydbs.c
@@ -93,7 +93,7 @@ get_stat(WT_SESSION *stat_session, int stat_field, uint64_t *valuep)
return (ret);
}
-static int
+static void
run_ops(int dbs)
{
WT_ITEM data;
@@ -119,7 +119,6 @@ run_ops(int dbs)
testutil_check(cursors[db]->insert(cursors[db]));
}
}
- return (0);
}
int
@@ -211,7 +210,7 @@ main(int argc, char *argv[])
WT_STAT_CONN_COND_AUTO_WAIT_RESET, &cond_reset_orig[i]));
for (i = 0; i < MAX_IDLE_TIME; i += IDLE_INCR) {
if (!idle)
- testutil_check(run_ops(dbs));
+ run_ops(dbs);
printf("Sleep %d (%d of %d)\n", IDLE_INCR, i, MAX_IDLE_TIME);
sleep(IDLE_INCR);
}