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

Bug in Java ConcurrentCloseTest case

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.9.0, 3.2.11, 3.4.0-rc1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: