You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/mongodb-memory-server-core/src/util/__tests__/__snapshots__/MongoInstance.test.ts.snap
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,20 @@ exports[`MongodbInstance prepareCommandArgs should throw an error if no dbpath i
6
6
7
7
exports[`MongodbInstance prepareCommandArgs should throw an error if no port is provided 1`] =`"\\"instanceOpts.port\\" is required to be set!"`;
8
8
9
-
exports[`MongodbInstance test events "closeHandler" should emit "instanceClosed" 1`] =`"Instance closed unexpectedly with code \\"null\\" and signal \\"SIG\\""`;
9
+
exports[`MongodbInstance test events "start" should emit a "instanceError" when timeout is reached and throw a error 1`] =`"Instance failed to start within 1000ms"`;
10
+
11
+
exports[`MongodbInstance test events checkErrorInLine() should emit "instanceError" when shared libraries fail to load 1`] =`"Instance failed to start because a library is missing or cannot be opened: \\"libcrypto.so.1.1\\""`;
12
+
13
+
exports[`MongodbInstance test events closeHandler() should emit "instanceClosed" 1`] =`"Instance closed unexpectedly with code \\"null\\" and signal \\"SIG\\""`;
10
14
11
-
exports[`MongodbInstance test events "closeHandler" should emit "instanceError" with extra information on "SIGILL" 1`] =`
15
+
exports[`MongodbInstance test events closeHandler() should emit "instanceError" with extra information on "SIGILL" 1`] =`
12
16
"Instance closed unexpectedly with code \\"null\\" and signal \\"SIGILL\\"
13
17
The Process Exited with SIGILL, which mean illegal instruction, which is commonly thrown in mongodb 5.0+ when not having AVX available on the CPU"
14
18
`;
15
19
16
-
exports[`MongodbInstance test events "closeHandler" should emit "instanceError" with non-0 or non-12 code 1`] =`"Instance closed unexpectedly with code \\"1\\" and signal \\"null\\""`;
20
+
exports[`MongodbInstance test events closeHandler() should emit "instanceError" with non-0 or non-12 code 1`] =`"Instance closed unexpectedly with code \\"1\\" and signal \\"null\\""`;
17
21
18
-
exports[`MongodbInstance test events "closeHandler" should emit "instanceError" with non-0 or non-12 code 2`] =`"Instance closed unexpectedly with code \\"null\\" and signal \\"SIG\\""`;
19
-
20
-
exports[`MongodbInstance test events "start" should emit a "instanceError" when timeout is reached and throw a error 1`] =`"Instance failed to start within 1000ms"`;
21
-
22
-
exports[`MongodbInstance test events checkErrorInLine() should emit "instanceError" when shared libraries fail to load 1`] =`"Instance failed to start because a library is missing or cannot be opened: \\"libcrypto.so.1.1\\""`;
22
+
exports[`MongodbInstance test events closeHandler() should emit "instanceError" with non-0 or non-12 code 2`] =`"Instance closed unexpectedly with code \\"null\\" and signal \\"SIG\\""`;
23
23
24
24
exports[`MongodbInstance test events stdoutHandler() should emit "instanceError" when "excepetion in initAndListen" is thrown DBException in initAndListen 1`] =`
25
25
"Instance Failed to start with \\"DBException in initAndListen\\". Original Error:
0 commit comments