Permalink
Browse files

SERVER-7698 avoid collisions between dbcase.js and dbcase2.js

  • Loading branch information...
1 parent 12dbc48 commit 9da5bec61ffb3509b53a8ef8fb85a017bba007bc @milkie milkie committed Nov 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 jstests/dbcase2.js
View
@@ -1,9 +1,9 @@
// SERVER-2111 Check that an in memory db name will block creation of a db with a similar but differently cased name.
-a = db.getSisterDB( "dbcasetest_dbnamea" )
-b = db.getSisterDB( "dbcasetest_dbnameA" )
+a = db.getSisterDB( "dbcase2test_dbnamea" )
+b = db.getSisterDB( "dbcase2test_dbnameA" )
a.c.count();
assert.throws( function() { b.c.count() } );
-assert.eq( -1, db.getMongo().getDBNames().indexOf( "dbcasetest_dbnameA" ) );
+assert.eq( -1, db.getMongo().getDBNames().indexOf( "dbcase2test_dbnameA" ) );

0 comments on commit 9da5bec

Please sign in to comment.