Skip to content

Commit 12608e0

Browse files
committed
Raise limits for performance tests
This is highly dependent on the target system
1 parent c9250da commit 12608e0

File tree

1 file changed

+3
-3
lines changed
  • core/esmf-aspect-model-java-generator/src/test/java/org/eclipse/esmf/aspectmodel/java/performance

1 file changed

+3
-3
lines changed

core/esmf-aspect-model-java-generator/src/test/java/org/eclipse/esmf/aspectmodel/java/performance/EsmfPerformanceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class EsmfPerformanceTest {
4646
private static final Collection<AspectModelUrn> URNS_2_1_0 = getUrns( INPUT_FILES_2_1_0 );
4747
private static final List<AspectModelFile> INPUT_FILES_LATEST = InlineModel.getModel( KnownVersion.getLatest().toVersionString() );
4848
private static final Collection<AspectModelUrn> URNS_LATEST = getUrns( INPUT_FILES_LATEST );
49-
private static final long MAX_DURATION_MS = 1300;
50-
private static final long MAX_MEMORY_BYTES = 200L * 1024 * 1024;
49+
private static final long MAX_DURATION_MS = 5000;
50+
private static final long MAX_MEMORY_BYTES = 500L * 1024 * 1024;
5151

5252
@Test
5353
@Timeout( 90 )
@@ -56,7 +56,7 @@ void testResolvingWithOldSammVersion() {
5656
}
5757

5858
@Test
59-
@Timeout( 2 )
59+
@Timeout( 5 )
6060
void testResolvingWithLatestSammVersion() {
6161
measurePerformance( "LatestSammVersion", INPUT_FILES_LATEST, URNS_LATEST );
6262
}

0 commit comments

Comments
 (0)