Uploaded image for project: 'Perl Driver'
  1. Perl Driver
  2. PERL-246

Test t/dbref.t ok only in the first installation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 0.701.4
    • Fix Version/s: None
    • Component/s: Perl driver
    • Labels:
      None
    • Environment:
      CentOS 6.4 x64, perl 5.16.3 (PerlBrew), mongodb-linux-x86_64-2.4.1

      Description

      If you need to reinstall the module or install it for new user - the test do not pass:

      t/dbref.t ................ 1/28 E11000 duplicate key error index: test.some_coll.$id dup key: { : 123 } at t/dbref.t line 91.
      # Looks like you planned 28 tests but ran 18.
      # Looks like your test exited with 115 just after 18.
      t/dbref.t ................ Dubious, test returned 115 (wstat 29440, 0x7300)

      But if in db 'test' drop collection 'some_coll' - the test pass again (one time)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: