From 3dc658fabd134e16f07b6c34d010529982eb83ac Mon Sep 17 00:00:00 2001 From: Luke Chen Date: Fri, 14 Jan 2022 15:04:20 +1100 Subject: Import wiredtiger: 8e674d2a63bffb4ca541be063f8bda7788d6936e from branch mongodb-master ref: 25ba1c8550..8e674d2a63 for: 5.3.0 WT-6035 Reenable lower isolation level tests in test_random_abort --- src/third_party/wiredtiger/test/csuite/random_abort/main.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/third_party/wiredtiger/test/csuite/random_abort/main.c') diff --git a/src/third_party/wiredtiger/test/csuite/random_abort/main.c b/src/third_party/wiredtiger/test/csuite/random_abort/main.c index 5c0ffff15d3..8a1031935f8 100644 --- a/src/third_party/wiredtiger/test/csuite/random_abort/main.c +++ b/src/third_party/wiredtiger/test/csuite/random_abort/main.c @@ -190,8 +190,7 @@ thread_run(void *arg) if (i == 0) i++; - /* FIXME-WT-6035: temporarily turn off tests for lower isolation levels. */ - testutil_check(session->begin_transaction(session, "isolation=snapshot")); + testutil_check(session->begin_transaction(session, NULL)); /* * The value is the insert- with key appended. @@ -218,7 +217,6 @@ thread_run(void *arg) cursor->set_value(cursor, &data); testutil_check(cursor->insert(cursor)); - /* FIXME-WT-6035: temporarily turn off tests for lower isolation levels. */ testutil_check(session->commit_transaction(session, NULL)); /* @@ -242,8 +240,7 @@ thread_run(void *arg) * Decide what kind of operation can be performed on the already inserted data. */ if (i % MAX_NUM_OPS == OP_TYPE_DELETE) { - /* FIXME-WT-6035: temporarily turn off tests for lower isolation levels. */ - testutil_check(session->begin_transaction(session, "isolation=snapshot")); + testutil_check(session->begin_transaction(session, NULL)); if (columnar_table) cursor->set_key(cursor, i); @@ -252,7 +249,6 @@ thread_run(void *arg) testutil_check(cursor->remove(cursor)); - /* FIXME-WT-6035: temporarily turn off tests for lower isolation levels. */ testutil_check(session->commit_transaction(session, NULL)); /* Save the key separately for checking later.*/ @@ -270,7 +266,7 @@ thread_run(void *arg) * Make sure the modify operation is carried out in an snapshot isolation level with * explicit transaction. */ - testutil_check(session->begin_transaction(session, "isolation=snapshot")); + testutil_check(session->begin_transaction(session, NULL)); ret = wiredtiger_calc_modify(session, &data, &newv, maxdiff, entries, &nentries); -- cgit v1.2.1