0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00
mongodb/jstests/libs/magic_restore_passthrough_runner.js
seanzimm 49aec070b5 SERVER-89647 Override drop and assert for magic restore testing (#22460)
GitOrigin-RevId: 34a2d0d2e06953c39c6c10d872cb640100256927
2024-05-22 21:41:52 +00:00

9 lines
234 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const testFile = TestData.jsTestFile;
try {
await import(testFile);
} catch (e) {
jsTestLog(`Try/Catch wrapped JSTest [${
testFile}] threw an error that probably doesnt matter for testing magic restore: ${e}.`);
}