Committed by
Gerrit Code Review
Reduce scope of long-running memory-intensive unit test.
Change-Id: I0e76ed945757f8d907bb5507096a695986f19afe
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -380,7 +380,7 @@ public class KryoSerializerTest { | ... | @@ -380,7 +380,7 @@ public class KryoSerializerTest { |
380 | public void testMplsLabelResourceSet() { | 380 | public void testMplsLabelResourceSet() { |
381 | DiscreteResource port = Resources.discrete(DID1, P1).resource(); | 381 | DiscreteResource port = Resources.discrete(DID1, P1).resource(); |
382 | 382 | ||
383 | - Set<DiscreteResource> labels = IntStream.range(0, 1024 * 1024) | 383 | + Set<DiscreteResource> labels = IntStream.range(0, 1024) |
384 | .mapToObj(MplsLabel::mplsLabel) | 384 | .mapToObj(MplsLabel::mplsLabel) |
385 | .map(x -> Resources.discrete(port.id(), x).resource()) | 385 | .map(x -> Resources.discrete(port.id(), x).resource()) |
386 | .collect(Collectors.toSet()); | 386 | .collect(Collectors.toSet()); | ... | ... |
-
Please register or login to post a comment