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

jstests\sharding\addShard1.js fails when given a db prefix

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.2
    • Component/s: Testing Infrastructure
    • Environment:
      Windows 7 Enterprise Build on 2008 R2
      Git hash:
      mongo - 1ea7e56cb2b8653d4b0453f04728033df34be9e1
      enterprise - d919ef07f817832732d2a0a2ec68251bc161193a
    • ALL
    • Hide

      python buildscripts\smoke.py --mongod="c:\Program Files\MongoDB 2.5.2 Enterprise\bin\mongod.exe" --mongo="c:\Program Files\MongoDB 2.5.2 Enterprise\bin\mongo.exe" --smoke-db-prefix=d:\smoke --use-ssl --use-x509 sharding

      Show
      python buildscripts\smoke.py --mongod="c:\Program Files\MongoDB 2.5.2 Enterprise\bin\mongod.exe" --mongo="c:\Program Files\MongoDB 2.5.2 Enterprise\bin\mongo.exe" --smoke-db-prefix=d:\smoke --use-ssl --use-x509 sharding

      Line 568 in src\mongo\shell\servers.js

      resetDbpath( opts.dbpath )
      

      causes the smoke-db-prefix path to be overriden. In this case the server did not have c:\data\db and it caused the test to fail.

            Assignee:
            kyle.erf Kyle Erf (Inactive)
            Reporter:
            sridhar Sridhar Nanjundeswaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: