[NAS-2326] AggregationWorkerTest test occasionally fails Created: 06/Jun/14 Updated: 22/Feb/16 Resolved: 22/Feb/16 |
|
Status: | Resolved |
Project: | NetarchiveSuite |
Component/s: | Test, Wayback |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Mikis Seth Sørensen (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | ||
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Perhaps one in 20 builds, with the following problem: junit.framework.AssertionFailedError: Unexpected content of aggregated index at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertNull(Assert.java:233) at dk.netarkivet.wayback.aggregator.AggregationWorkerTest.testFirstAggregationRun(AggregationWorkerTest.java:58) |
Comments |
Comment by Søren Vejrup Carlsen (Inactive) [ 22/Feb/16 ] |
The test works again. Removed note about disabled test from the test-class" |
Comment by Mikis Seth Sørensen (Inactive) [ 08/Sep/14 ] |
This seems a general problem for the AggregationWorkerTest class. Consider changing the AggregationWorker class from a singleton to a normal class with injected dependencies, like relevant settings. As part of this work a file lock mechanisme should be implemented. |