mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
SERVER-46235 Re-enable disabled tests
This commit is contained in:
parent
3d92f8e574
commit
dc3adeb1ce
@ -11,9 +11,6 @@ selector:
|
||||
# Disable inmem_full as per SERVER-27014
|
||||
- jstests/noPassthrough/inmem_full.js
|
||||
# Disable incompatible with json logging per SERVER-46235
|
||||
- jstests/noPassthrough/currentop_secondary_slow_op.js
|
||||
- jstests/noPassthrough/index_secondary_commit_after_scan_error.js
|
||||
- jstests/noPassthrough/indexbg_killop_primary_after_init.js
|
||||
- jstests/noPassthrough/latency_includes_lock_acquisition_time.js
|
||||
- jstests/noPassthrough/log_and_profile_query_hash.js
|
||||
- jstests/noPassthrough/log_format_slowms_samplerate_loglevel.js
|
||||
|
@ -40,8 +40,9 @@ assert.commandWorked(secondaryDB.adminCommand({
|
||||
|
||||
try {
|
||||
assert.commandWorked(coll.insert({_id: 'b'}));
|
||||
checkLog.contains(secondary,
|
||||
'hangAfterCollectionInserts fail point enabled for ' + coll.getFullName());
|
||||
checkLog.contains(
|
||||
secondary,
|
||||
new RegExp(`hangAfterCollectionInserts fail point enabled for.*${coll.getFullName()}`));
|
||||
|
||||
jsTestLog('Running currentOp() with slow operation logging.');
|
||||
// Lower slowms to make currentOp() log slow operation while the secondary is procesing the
|
||||
|
@ -86,7 +86,7 @@ assert.soon(function() {
|
||||
// Secondary should crash on receiving the unexpected commitIndexBuild oplog entry.
|
||||
const fassertProcessExitCode = _isWindows() ? MongoRunner.EXIT_ABRUPT : MongoRunner.EXIT_ABORT;
|
||||
assert.eq(fassertProcessExitCode, res.exitCode);
|
||||
assert(rawMongoProgramOutput().match('Fatal assertion 51101 OperationFailed: Index build:'),
|
||||
assert(rawMongoProgramOutput().match('Fatal assertion.*51101.*OperationFailed: Index build:'),
|
||||
'Index build should have aborted secondary due to unexpected commitIndexBuild oplog entry.');
|
||||
|
||||
// Check indexes on primary.
|
||||
|
@ -61,8 +61,7 @@ IndexBuildTest.waitForIndexBuildToStop(testDB);
|
||||
const exitCode = createIdx({checkExitSuccess: false});
|
||||
assert.neq(0, exitCode, 'expected shell to exit abnormally due to index build being terminated');
|
||||
|
||||
checkLog.contains(
|
||||
primary, /IndexBuildAborted: Index build aborted: |Index build aborted:.*IndexBuildAborted/);
|
||||
checkLog.contains(primary, /IndexBuildAborted:?.*Index build aborted: /);
|
||||
|
||||
// Check that no new index has been created. This verifies that the index build was aborted
|
||||
// rather than successfully completed.
|
||||
|
Loading…
Reference in New Issue
Block a user