Skip to content

Commit

Permalink
COH-27514 Reduce heap size of JVMs in topics compatibility tests
Browse files Browse the repository at this point in the history
(merge main -> ce/main 100028)
RQ job.9.20230426124132.28026

[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 100037]
  • Loading branch information
thegridman committed Apr 26, 2023
1 parent d9cdff5 commit edc7774
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public CoherenceClusterExtension()
// establish default java process options
commonOptionsByType.add(Headless.enabled());
commonOptionsByType.add(HotSpot.Mode.SERVER);
commonOptionsByType.add(HeapSize.of(256, HeapSize.Units.MB, 1024, HeapSize.Units.MB));

// establish default bedrock options
commonOptionsByType.add(Console.system());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates.
* Copyright (c) 2000, 2023, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
Expand Down Expand Up @@ -54,7 +54,6 @@ public CoherenceClusterResource()
// establish default java process options
this.commonOptionsByType.add(Headless.enabled());
this.commonOptionsByType.add(HotSpot.Mode.SERVER);
this.commonOptionsByType.add(HeapSize.of(256, HeapSize.Units.MB, 1024, HeapSize.Units.MB));

// establish default bedrock options
this.commonOptionsByType.add(Console.system());
Expand Down
2 changes: 1 addition & 1 deletion prj/coherence-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
<junit.jupiter.version>5.8.2</junit.jupiter.version>
<mockito.version>3.12.4</mockito.version>
<objenesis.version>2.2</objenesis.version>
<oracle.bedrock.version>7.0.1</oracle.bedrock.version>
<oracle.bedrock.version>7.0.2</oracle.bedrock.version>
<testcontainers.version>1.17.3</testcontainers.version>

<!-- commercial test dependency versions -->
Expand Down
2 changes: 1 addition & 1 deletion prj/test/distribution/topics-compatibility/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<packaging>pom</packaging>

<modules>
<module>topics-22.06.3</module>
<module>topics-14.1.1.2206.3</module>
</modules>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>topics-22.06.3</artifactId>
<name>Coherence Topics 22.06.3 Tests</name>
<artifactId>topics-14.1.1.2206.3</artifactId>
<name>Coherence Topics 14.1.1.2206.3 Tests</name>

<properties>
<coherence.compatibility.version>22.06.3</coherence.compatibility.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.oracle.bedrock.runtime.coherence.options.Logging;
import com.oracle.bedrock.runtime.coherence.options.RoleName;
import com.oracle.bedrock.runtime.coherence.options.WellKnownAddress;
import com.oracle.bedrock.runtime.java.options.HeapSize;
import com.oracle.bedrock.runtime.java.options.IPv4Preferred;
import com.oracle.bedrock.runtime.options.DisplayName;
import com.oracle.bedrock.testsupport.junit.TestLogsExtension;
Expand Down Expand Up @@ -107,6 +108,7 @@ static ClosableCluster createCluster(String sClusterName, Version version, int c
Logging.atFinest(),
LocalHost.only(),
IPv4Preferred.yes(),
HeapSize.of(64, HeapSize.Units.MB, 64, HeapSize.Units.MB, true),
m_testLogs)
.include(cMember, CoherenceClusterMember.class);

Expand Down

0 comments on commit edc7774

Please sign in to comment.