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

Bug in Java ConcurrentCloseTest case

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.11, 3.4.0-rc1
    • Labels:
      None

      Description

      A user reported that the test/java/com/wiredtiger/test/ConcurrentCloseTest.java test case is opening Insert threads instead of query threads around line 143.

      The fix as identified by the user is:

      --- a/test/java/com/wiredtiger/test/ConcurrentCloseTest.java
      +++ b/test/java/com/wiredtiger/test/ConcurrentCloseTest.java
      @@ -140,7 +140,7 @@ public class ConcurrentCloseTest {
       
                   for (i = 0; i < NUM_THREADS; i++) {
                       Thread insertThread = new InsertThread(conn, i);
      -                Thread scanThread = new InsertThread(conn, i);
      +                Thread scanThread = new ScanThread(conn, i);
                       insertThread.start();
                       scanThread.start();
                       threads.add(insertThread);
      

        Attachments

          Activity

            People

            • Assignee:
              donald.anderson Donald Anderson
              Reporter:
              alexander.gorrod Alexander Gorrod
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: