Skip to content

Commit

Permalink
System properties proper config for TimeWindowStatisticsImplTest
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <[email protected]>
  • Loading branch information
senivam authored and jansupol committed Sep 3, 2021
1 parent 3d131db commit dfd0ee7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions core-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
<threadCount>1</threadCount>
<forkCount>1C</forkCount>
<reuseForks>true</reuseForks>
<systemPropertiesFile>${project.basedir}/etc/systemPropertiesFile</systemPropertiesFile>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ public class TimeWindowStatisticsImplTest {
private static final int COLLISION_BUFFER_POWER = 3;
private static final double DELTA = 0.0001;

@BeforeClass
public static void beforeClass() {
System.setProperty(ServerProperties.COLLISION_BUFFER_POWER_JVM_ARG,
Integer.toString(COLLISION_BUFFER_POWER));
}

@Test
public void jvmLoaded() {
assertEquals(COLLISION_BUFFER_POWER, ReservoirConstants.COLLISION_BUFFER_POWER);
Expand Down
2 changes: 1 addition & 1 deletion etc/jenkins/jenkins_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

export DEBUG=true

mvn -V -U -B -e clean install glassfish-copyright:check -Dcopyright.quiet=false -Dsurefire.systemPropertiesFile=${WORKSPACE}/etc/jenkins/systemPropertiesFile
mvn -V -U -B -e clean install glassfish-copyright:check -Dcopyright.quiet=false

0 comments on commit dfd0ee7

Please sign in to comment.