diff options
author | Luke Chen <luke.chen@mongodb.com> | 2022-01-14 15:04:20 +1100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-14 04:29:57 +0000 |
commit | 3dc658fabd134e16f07b6c34d010529982eb83ac (patch) | |
tree | 51539877be907e1610975a92b5d4660fd3a1eda0 /src/third_party/wiredtiger/test/csuite/random_abort/main.c | |
parent | 84a9bfd98df36593083faa0b691e1553247025e3 (diff) | |
download | mongo-3dc658fabd134e16f07b6c34d010529982eb83ac.tar.gz |
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
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/random_abort/main.c')
-rw-r--r-- | src/third_party/wiredtiger/test/csuite/random_abort/main.c | 10 |
1 files changed, 3 insertions, 7 deletions
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); |