GEODE-9176: Automatically pass properties to benchmark JVMs (#149)
authorDan Smith <dasmith@vmware.com>
Mon, 26 Apr 2021 18:23:37 +0000 (11:23 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 18:23:37 +0000 (11:23 -0700)
commit569cf39ea6357e87b66999fcffe0fca146d1d7a0
tree753618d080ab1cb80b6c5355c477a38aae91726d
parentec0a2252ab9c25db242ab438856a673662932287
GEODE-9176: Automatically pass properties to benchmark JVMs (#149)

Converting all of the system properties we use in the benchmarks to start with the benchmark
prefix. Changing the gradle build to copy all benchmark.* properties as system
properties in the tst.

Getting rid of problematic org.json dependency, and also making
sure we capture *all* system properties that might effect the behavior of the
test.

Adding a way to automatically set system properties in test JVMs. Just add a property
with the prefix benchmark.system.ROLE, where ROLE is the role of jvms to target. Eg

benchmark.system.server.gemfire.disablePartitionedRegionBucketAck=true would set
gemfire.disablePartitionedRegionBucketAck=true  in the server JVMs.

Logging all benchmark properties during test run
22 files changed:
geode-benchmarks/build.gradle
geode-benchmarks/src/main/java/org/apache/geode/benchmark/parameters/GcParameters.java
geode-benchmarks/src/main/java/org/apache/geode/benchmark/parameters/HeapParameters.java
geode-benchmarks/src/main/java/org/apache/geode/benchmark/topology/ClientServerTopologyWithRouterAndSniProxy.java
geode-benchmarks/src/main/java/org/apache/geode/benchmark/topology/ClientServerTopologyWithSniProxy.java
geode-benchmarks/src/main/java/org/apache/geode/benchmark/topology/Topology.java
geode-benchmarks/src/test/java/org/apache/geode/benchmark/parameters/GcParametersTest.java
geode-benchmarks/src/test/java/org/apache/geode/benchmark/parameters/HeapParametersTest.java
geode-benchmarks/src/test/java/org/apache/geode/benchmark/tests/ClientServerBenchmarkTest.java
geode-benchmarks/src/test/java/org/apache/geode/benchmark/topology/ClientServerTopologyTest.java
geode-benchmarks/src/test/java/org/apache/geode/benchmark/topology/ClientServerTopologyWithSniProxyTest.java
harness/build.gradle
harness/src/main/java/org/apache/geode/perftest/BenchmarkProperties.java [new file with mode: 0644]
harness/src/main/java/org/apache/geode/perftest/TestConfig.java
harness/src/main/java/org/apache/geode/perftest/TestRunners.java
harness/src/main/java/org/apache/geode/perftest/WorkloadConfig.java
harness/src/main/java/org/apache/geode/perftest/jvms/JVMLauncher.java
harness/src/main/java/org/apache/geode/perftest/runner/DefaultTestRunner.java
harness/src/test/java/org/apache/geode/perftest/BenchmarkPropertiesTest.java [new file with mode: 0644]
harness/src/test/java/org/apache/geode/perftest/TestRunnerIntegrationTest.java
infrastructure/src/main/java/org/apache/geode/infrastructure/BenchmarkMetadata.java
infrastructure/src/main/java/org/apache/geode/infrastructure/aws/LaunchCluster.java