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

Csuite LSM Random test can occasionally fail

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.2.11, 3.4.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage 2016-10-31

      The LSM random test can occasionally fail as follows:

      FAIL: test_wt2403_lsm_workload
      query_docs/87: count <= NUM_QUERIES / 100: same document was returned 75 times, likely we are seeing the one remaining value
      100000 documents inserted
      1000 documents read
      100000 documents set to update
      1000 documents read
      1000 documents read
      99999 documents deleted
      FAIL test_wt2403_lsm_workload (exit status: 1)

      The failure is due to a test seeing slightly higher than expected returns of the same document on a random cursor.

      The count here is the total number of times that a repeated document has returned and it is never reset.

      This part of random cursors is better tested within the python suite test_random_cursor (using a set) and can be removed.

            david.hows David Hows
            david.hows David Hows
            0 Vote for this issue
            1 Start watching this issue