Skip to content

Commit

Permalink
Disable javajstest() in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
astaple committed Feb 2, 2009
1 parent 5757e2a commit 720527c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ namespace mongo {
#if !defined(NOJNI)
if ( useJNI ) {
JavaJS = new JavaJSImpl(appserverLoc);
javajstest();
// This takes a bit of time, so comenting
// javajstest();
}
#endif

Expand Down Expand Up @@ -376,8 +377,7 @@ int main(int argc, char* argv[], char *envp[] )
if ( strcmp(argv[1], "javatest") == 0 ) {
#if !defined(NOJNI)
JavaJS = new JavaJSImpl();
// This take a bit of time to run, so commenting:
// javajstest();
javajstest();
#else
out() << "NOJNI build cannot test" << endl;
#endif
Expand Down

0 comments on commit 720527c

Please sign in to comment.