Permalink
Browse files

update test for new system.profile user entry

  • Loading branch information...
1 parent 1b181aa commit 161fdc6f34b52dbf00df6b971a63da502cf1ab4f @erh erh committed Dec 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 jstests/auth/auth1.js
View
@@ -41,9 +41,9 @@ assert.eq( 1000, t.find().toArray().length , "A2" );
db.setProfilingLevel( 2 );
t.count();
db.setProfilingLevel( 0 );
-assert.lt( 0 , db.system.profile.find( { user : "eliot" } ).count() , "AP1" )
+assert.lt( 0 , db.system.profile.find( { user : "eliot@test" } ).count() , "AP1" )
-var p = { key : { i : true } ,
+var p = { key : { i : true } ,
reduce : function(obj,prev) { prev.count++; },
initial: { count: 0 }
};

0 comments on commit 161fdc6

Please sign in to comment.