You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by he...@apache.org on 2019/01/08 18:40:39 UTC

[geode-benchmarks] branch GEODE-6191 updated: use 4 threads in all the tests

This is an automated email from the ASF dual-hosted git repository.

heybales pushed a commit to branch GEODE-6191
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/GEODE-6191 by this push:
     new d76ca33  use 4 threads in all the tests
d76ca33 is described below

commit d76ca335a7e173cba05699bed998c257de00595b
Author: Helena A. Bales <hb...@pivotal.io>
AuthorDate: Tue Jan 8 10:37:30 2019 -0800

    use 4 threads in all the tests
---
 .../src/main/java/org/apache/geode/benchmark/tests/GeodeBenchmark.java   | 1 +
 .../java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java   | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/GeodeBenchmark.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/GeodeBenchmark.java
index 92df316..edb5f9a 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/GeodeBenchmark.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/GeodeBenchmark.java
@@ -31,6 +31,7 @@ public class GeodeBenchmark {
     TestConfig testConfig = new TestConfig();
     testConfig.warmupSeconds(WARM_UP_TIME);
     testConfig.durationSeconds(BENCHMARK_DURATION);
+    testConfig.threads(4);
     return testConfig;
   }
 
diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
index bfae9f0..3357a17 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
@@ -53,7 +53,6 @@ public class PartitionedPutBenchmark implements PerformanceTest {
   public TestConfig configure() {
     TestConfig config = GeodeBenchmark.createConfig();
     ClientServerTopology.configure(config);
-    config.threads(4);
     config.before(new CreatePartitionedRegion(), SERVER);
     config.before(new CreateClientProxyRegion(), CLIENT);
     config.before(new PrePopulateRegion(keyRange), SERVER);