diff options
author | Yuhong Zhang <yuhong.zhang@mongodb.com> | 2023-03-23 20:38:20 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-29 17:03:05 +0000 |
commit | 21ef3e35a21625621728b50f6647aa476dce3af2 (patch) | |
tree | 05eaa088f5b6ec5af92afad6feb4b12d2dde2958 /jstests/concurrency | |
parent | 00450a16ba3fa84e806ac2634091ce80f4f5d7f7 (diff) | |
download | mongo-21ef3e35a21625621728b50f6647aa476dce3af2.tar.gz |
SERVER-73319 Enable time-series multi delete tests
Diffstat (limited to 'jstests/concurrency')
-rw-r--r-- | jstests/concurrency/fsm_workloads/timeseries_deletes_and_inserts.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/jstests/concurrency/fsm_workloads/timeseries_deletes_and_inserts.js b/jstests/concurrency/fsm_workloads/timeseries_deletes_and_inserts.js index 82fcf0529cb..e9508a9a513 100644 --- a/jstests/concurrency/fsm_workloads/timeseries_deletes_and_inserts.js +++ b/jstests/concurrency/fsm_workloads/timeseries_deletes_and_inserts.js @@ -12,9 +12,8 @@ * @tags: [ * # We need a timeseries collection. * requires_timeseries, + * requires_non_retryable_writes, * featureFlagTimeseriesDeletesSupport, - * # TODO SERVER-73319: Enable this test. - * __TEMPORARILY_DISABLED__, * ] */ @@ -138,14 +137,9 @@ var $config = (function() { readingNo}, nReadings: ${nReadings}, nSensorsRemaining: ${ nSensorsRemaining}`); } else if (wasInserted && wasDeleted) { - // This reading was both inserted and deleted. Since we don't know which order the - // operations happened in, allow both cases through (but expect a consistent - // result). - assertWhenOwnColl( - nReadings == 0 || nReadings >= nSensorsRemaining, - `Expected all or none of the remaining sensors' readings to be deleted: readingNo: ${ - readingNo}, nReadings: ${nReadings}, nSensorsRemaining: ${ - nSensorsRemaining}`); + // This reading was both inserted and deleted. Since the operations could happen + // concurrently, any number of readings could exist in the collection in the end. + // Skip checking anything for this case. } else { // This reading was not inserted or deleted. If it was a part of the seed data, make // sure that it still exists. |