Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10270

jstests/apitest_db.js failing

    • Fully Compatible
    • ALL

      http://buildbot.mongodb.org/builders/Windows%2064-bit/builds/5614/steps/test_8/logs/stdio
      http://buildlogs.mongodb.org/Windows%2064-bit/builds/5614/test/js/apitest_db.js

      MongoDB shell version: 2.5.2-pre-
      connecting to: 127.0.0.1:27999/test
      MONGODB-CR
      assert failed
      Error: Printing Stack Trace
          at printStackTrace (src/mongo/shell/utils.js:37:15)
          at doassert (src/mongo/shell/assert.js:6:5)
          at assert (src/mongo/shell/assert.js:14:5)
          at D:\slave\Windows_64bit\mongo\jstests\apitest_db.js:67:5
      Fri Jul 19 20:09:01.115 assert failed at src/mongo/shell/assert.js:7
      failed to load: D:\slave\Windows_64bit\mongo\jstests\apitest_db.js
      

      The thrown exception (expected) no longer contains the field that the test is looking for:

      asserted = false;
      try {
          db.setProfilingLevel(10);
          assert(false);
      }
      catch (e) { 
          asserted = true;
          assert(e.dbSetProfilingException);
      }
      assert( asserted, "should have asserted" );
      

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: