diff options
author | Anton Korshunov <anton.korshunov@mongodb.com> | 2019-03-25 16:20:25 +0000 |
---|---|---|
committer | Anton Korshunov <anton.korshunov@mongodb.com> | 2019-05-02 17:03:31 +0100 |
commit | fc6c65c0d4ffff4104e355af6f6c3d73b79ad713 (patch) | |
tree | e17af8d59a97450d965190c9f16c51376538ef24 /jstests/noPassthrough/out_max_time_ms.js | |
parent | 923bb8465cf13a81c90ca3002e5386411ce5d14b (diff) | |
download | mongo-fc6c65c0d4ffff4104e355af6f6c3d73b79ad713.tar.gz |
SERVER-40429 Add merge stage to write output to existing collection
Diffstat (limited to 'jstests/noPassthrough/out_max_time_ms.js')
-rw-r--r-- | jstests/noPassthrough/out_max_time_ms.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/noPassthrough/out_max_time_ms.js b/jstests/noPassthrough/out_max_time_ms.js index 36216182bce..16c5b129261 100644 --- a/jstests/noPassthrough/out_max_time_ms.js +++ b/jstests/noPassthrough/out_max_time_ms.js @@ -123,7 +123,10 @@ // Force the aggregation to hang while the batch is being built. forceAggregationToHangAndCheckMaxTimeMsExpires( - mode, conn, "hangWhileBuildingDocumentSourceOutBatch"); + mode, + conn, + mode == "replaceCollection" ? "hangWhileBuildingDocumentSourceOutBatch" + : "hangWhileBuildingDocumentSourceMergeBatch"); } // Run on a standalone. |