Wicket
  1. Wicket
  2. WICKET-3893

Possible deadlock running AsynchronousDataStoreTest

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None

      Description

      Running AsynchronousDataStoreTest on "slow" pc (i.e. dual core 2 GhZ, 2 Gb of ram) AsynchronousDataStoreTest doesn't terminate at all. I think that problem occurs when we submit a task which has been already submitted but not executed yet. This leads to a missed latch countdown.
      The problem doesn't occur when I decrease EXECUTIONS variable.

      A possible fix is to replace latch with a calling to awaitTermination method.

      I attach a patch.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrea Del Bene
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development