Skip to content

Commit

Permalink
Moar locking in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
tinwelint authored and lutovich committed Jul 21, 2016
1 parent 353c4cc commit 4734f80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void shouldDeferAllLocks() throws Exception
// WHEN
Set<Resource> expected = new HashSet<>();
ResourceType[] types = ResourceTypes.values();
for ( int i = 0; i < 10; i++ )
for ( int i = 0; i < 10_000; i++ )
{
Resource resource = new Resource( random.among( types ), abs( random.nextLong() ), true );
client.acquireExclusive( resource.resourceType, resource.resourceId );
Expand Down

0 comments on commit 4734f80

Please sign in to comment.