Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7132

Fix failures in test_checkpoint_snapshot02

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Here's a failure:

      ======================================================================
      FAIL: test_checkpoint_snapshot02.test_checkpoint_snapshot02.test_checkpoint_snapshot (subunit.RemotedTestCase)
      test_checkpoint_snapshot02.test_checkpoint_snapshot02.test_checkpoint_snapshot
      ----------------------------------------------------------------------
      testtools.testresult.real._StringException: Traceback (most recent call last):
        File "/data/mci/c1fc0d801352b9309404709b4d46f32c/wiredtiger/test/suite/test_checkpoint_snapshot02.py", line 128, in test_checkpoint_snapshot
          self.check(valuea, self.uri, self.nrows)
        File "/data/mci/c1fc0d801352b9309404709b4d46f32c/wiredtiger/test/suite/test_checkpoint_snapshot02.py", line 73, in check
          self.assertEqual(count, nrows)
        File "/opt/mongodbtoolchain/revisions/39699409944dd532c7cbdce2f62da11361ac220a/stow/python3-v3.1Fs/lib/python3.7/unittest/case.py", line 839, in assertEqual
          assertion_func(first, second, msg=msg)
        File "/opt/mongodbtoolchain/revisions/39699409944dd532c7cbdce2f62da11361ac220a/stow/python3-v3.1Fs/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
          raise self.failureException(msg)
      AssertionError: 956 != 1000
      

       

      In this test, all the inserts are in a transaction, so it should be all or nothing, and not 956.  After the inserts, there are updates of individual records, not in a transaction, but I don't think that explains the discrepancy.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: