diff options
author | Katherine Wu <katherine.wu@mongodb.com> | 2020-07-10 14:15:01 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-05 17:46:10 +0000 |
commit | fd109f08f97117237dae3a9428c3d2d66f14e221 (patch) | |
tree | e8ef6f5ec3b609e2eb73f80ae42d503c24725223 /jstests/serial_run | |
parent | e25d43ca2b5e99e6484cb0e13ca5f9e2d014ac30 (diff) | |
download | mongo-fd109f08f97117237dae3a9428c3d2d66f14e221.tar.gz |
SERVER-49438 Allow memory.js tests to accept $where timeout interruption
Diffstat (limited to 'jstests/serial_run')
-rw-r--r-- | jstests/serial_run/memory.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/serial_run/memory.js b/jstests/serial_run/memory.js index 05be9901151..58b9a0566e0 100644 --- a/jstests/serial_run/memory.js +++ b/jstests/serial_run/memory.js @@ -38,7 +38,8 @@ function assertMemoryError(func) { try { func(); } catch (e) { - if (e.message.includes("Out of memory")) { + if (e.message.includes("Out of memory") || + e.message.includes("JavaScript execution interrupted")) { return; } throw e; |