diff options
author | Don Anderson <dda@mongodb.com> | 2016-09-06 11:30:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 11:30:45 -0400 |
commit | 338d789506ffcd388f82a5551a070b7cc4c482ae (patch) | |
tree | fb8bfd79ed68608190831ca260de4790abeeb349 | |
parent | 3aab0803b5401c8aed08813cb58d3a6f341fbb00 (diff) | |
download | mongo-338d789506ffcd388f82a5551a070b7cc4c482ae.tar.gz |
WT-2323 code clean up. (#3025)
-rw-r--r-- | test/csuite/wt2323_join_visibility/main.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/csuite/wt2323_join_visibility/main.c b/test/csuite/wt2323_join_visibility/main.c index fa499ee3396..bbf1626fe82 100644 --- a/test/csuite/wt2323_join_visibility/main.c +++ b/test/csuite/wt2323_join_visibility/main.c @@ -85,7 +85,7 @@ typedef struct { static void *thread_insert(void *); static void *thread_join(void *); -static int test_join(TEST_OPTS *, SHARED_OPTS *, bool, bool); +static void test_join(TEST_OPTS *, SHARED_OPTS *, bool, bool); int main(int argc, char *argv[]) @@ -117,17 +117,17 @@ main(int argc, char *argv[]) testutil_check(wiredtiger_open(opts->home, NULL, "create,cache_size=1G", &opts->conn)); - testutil_check(test_join(opts, sharedopts, true, true)); - testutil_check(test_join(opts, sharedopts, true, false)); - testutil_check(test_join(opts, sharedopts, false, true)); - testutil_check(test_join(opts, sharedopts, false, false)); + test_join(opts, sharedopts, true, true); + test_join(opts, sharedopts, true, false); + test_join(opts, sharedopts, false, true); + test_join(opts, sharedopts, false, false); testutil_cleanup(opts); return (0); } -static int +static void test_join(TEST_OPTS *opts, SHARED_OPTS *sharedopts, bool bloom, bool sometimes_remove) { @@ -223,8 +223,6 @@ test_join(TEST_OPTS *opts, SHARED_OPTS *sharedopts, bool bloom, testutil_check(session->drop(session, sharedopts->flaguri, NULL)); testutil_check(session->drop(session, opts->uri, NULL)); testutil_check(session->close(session, NULL)); - - return (0); } static void *thread_insert(void *arg) |