Edit jstests/drop2.js to put a print statement after the last call to assert.soon, before it runs killOp. Run that test under v8 - the print statement never prints. Run it under spidermonkey and it does.
I initially thought the output buffer just wasn't being flushed, but sleeping any amount of time, and/or adding more print statements with newlines doesn't help.
- duplicates
-
SERVER-8061 Unify shell output functions
- Closed
- related to
-
SERVER-8211 Mongo Shell fails to capture stdout when it is redirected
- Closed