mirror of https://github.com/mongodb/mongo
SERVER-92052 Skip tests in SBE (#24397)
There is a bug in SBE setWindowFileds stage in v7.3 that makes some range tests fail. The bug has been fixed in v8.0 with the ticket SERVER-86373 but the fix is not likely to be backported to v7.3 because the affected code is behind a flag. GitOrigin-RevId: 24d2f5e12503d281ec0a5d1157a95473b564bd44
This commit is contained in:
parent
225617a7ac
commit
29f802a63a
|
|
@ -2,6 +2,7 @@
|
|||
* Test time-based window bounds.
|
||||
*/
|
||||
import "jstests/libs/sbe_assert_error_override.js";
|
||||
import {checkSbeCompletelyDisabled} from "jstests/libs/sbe_util.js";
|
||||
|
||||
const coll = db.setWindowFields_time;
|
||||
coll.drop();
|
||||
|
|
@ -232,6 +233,14 @@ assert.sameMembers(res, [
|
|||
{"res": 36472996377170790000}
|
||||
]);
|
||||
|
||||
// There is a bug in SBE setWindowFileds stage that makes the following tests fail. The bug has been
|
||||
// fixed in v8.0 with the ticket SERVER-86373.
|
||||
const sbeDisabled = checkSbeCompletelyDisabled(db);
|
||||
if (!sbeDisabled) {
|
||||
jsTestLog("Skipping tests because SBE is enabled");
|
||||
quit();
|
||||
}
|
||||
|
||||
// Test with large bound over large data values
|
||||
const res2 =
|
||||
coll.aggregate([
|
||||
|
|
|
|||
Loading…
Reference in New Issue