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

Bug in Java ConcurrentCloseTest case

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.2.11, 3.4.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None

      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);
      

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

              Created:
              Updated:
              Resolved: