Skip to content

Commit

Permalink
WT-5891 Disable testing of checkpoint cursors in wt4333_handle_locks (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuo-cpp committed Mar 26, 2020
1 parent c18299e commit a7995b5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/csuite/wt4333_handle_locks/main.c
Expand Up @@ -106,9 +106,14 @@ op(WT_SESSION *session, WT_RAND_STATE *rnd, WT_CURSOR **cpp)

/* Loop to open an object handle. */
for (i = __wt_random(rnd) % uris; !done; __wt_yield()) {
/* Use a checkpoint handle for 50% of reads. */
ret = session->open_cursor(session, uri_list[i], NULL,
readonly && (i % 2 == 0) ? "checkpoint=WiredTigerCheckpoint" : NULL, &cursor);
/*
* Use a checkpoint handle for 50% of reads.
*
* FIXME: Checkpoint cursors are known to have issues in durable history so we've removing
* the use of checkpoint handles in this test. As part of WT-5927, we should either
* re-enable the testing of checkpoint cursors or remove this comment.
*/
ret = session->open_cursor(session, uri_list[i], NULL, NULL, &cursor);
if (ret != EBUSY) {
testutil_check(ret);
break;
Expand Down

0 comments on commit a7995b5

Please sign in to comment.