Skip to content

Commit dd6ed26

Browse files
committed
SERVER-22843 Improve logging in update_yield1.js to help diagnose build failure
1 parent ff296b3 commit dd6ed26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jstests/noPassthrough/update_yield1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ while ( ( (new Date()).getTime() - start ) < ( time * 2 ) ){
6969

7070
join();
7171

72-
x = db.currentOp();
72+
var curOp = db.currentOp();
7373
// currentOp itself shows up as an active operation
74-
assert.eq( 1 , x.inprog.length , "weird 2" );
74+
assert.eq( 1 , curOp.inprog.length , tojson(curOp) );
7575

7676
testServer.stop();

0 commit comments

Comments
 (0)