Skip to content

Commit

Permalink
Repaired unit test for AbsentResourceList dependent on CPU timing, for
Browse files Browse the repository at this point in the history
  • Loading branch information
pdavidc committed Dec 7, 2016
1 parent 6160d3a commit 953cbbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/gov/nasa/worldwind/util/AbsentResourceListTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ public class AbsentResourceListTest
{
/** Tests addition of resources to the list. */
@Test
public void testResourceAddition()
public void testResourceAddition() throws InterruptedException
{
int numResources = 100;
AbsentResourceList list = new AbsentResourceList(numResources, 2);
int checkInterval = 250;
AbsentResourceList list = new AbsentResourceList(numResources, 2, checkInterval, 60000);

addResources(list, numResources);
assertResourcesAbsent(list, numResources);
Expand Down

0 comments on commit 953cbbf

Please sign in to comment.