Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
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.