This is an automated email from the ASF dual-hosted git repository.
heybales pushed a commit to branch GEODE-7554
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/GEODE-7554 by this push:
new 7fccbcc run 7 NoopBenchmarks and hope that one of them fails
7fccbcc is described below
commit 7fccbccf9ca9ade618d19ece35e120e793bca63a
Author: Helena A. Bales <[email protected]>
AuthorDate: Fri Dec 6 11:56:12 2019 -0800
run 7 NoopBenchmarks and hope that one of them fails
---
.../org/apache/geode/benchmark/tasks/NoopTask.java | 1 -
.../geode/benchmark/tests/NoopBenchmark1.java | 51 ++++++++++++++++++++++
.../geode/benchmark/tests/NoopBenchmark2.java | 51 ++++++++++++++++++++++
.../geode/benchmark/tests/NoopBenchmark3.java | 51 ++++++++++++++++++++++
.../geode/benchmark/tests/NoopBenchmark4.java | 51 ++++++++++++++++++++++
.../geode/benchmark/tests/NoopBenchmark5.java | 51 ++++++++++++++++++++++
.../geode/benchmark/tests/NoopBenchmark6.java | 51 ++++++++++++++++++++++
.../geode/benchmark/tests/NoopBenchmark7.java | 51 ++++++++++++++++++++++
infrastructure/scripts/aws/run_against_baseline.sh | 5 ---
9 files changed, 357 insertions(+), 6 deletions(-)
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/NoopTask.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/NoopTask.java
index 2ce000e..010ea3b 100644
---
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/NoopTask.java
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/NoopTask.java
@@ -29,7 +29,6 @@ public class NoopTask extends BenchmarkDriverAdapter
implements Serializable {
@Override
public boolean test(Map<Object, Object> ctx) {
- exit(1);
return false;
}
}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark1.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark1.java
new file mode 100644
index 0000000..d7d44b3
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark1.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark1 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark1() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark2.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark2.java
new file mode 100644
index 0000000..06e0bbe
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark2.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark2 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark2() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark3.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark3.java
new file mode 100644
index 0000000..b23b060
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark3.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark3 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark3() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark4.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark4.java
new file mode 100644
index 0000000..5fb7fe2
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark4.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark4 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark4() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark5.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark5.java
new file mode 100644
index 0000000..ffc0d2f
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark5.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark5 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark5() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark6.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark6.java
new file mode 100644
index 0000000..05ce562
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark6.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark6 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark6() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark7.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark7.java
new file mode 100644
index 0000000..da1d122
--- /dev/null
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/NoopBenchmark7.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geode.benchmark.tests;
+
+
+import static
org.apache.geode.benchmark.topology.ClientServerTopology.Roles.CLIENT;
+
+import org.junit.jupiter.api.Test;
+
+import org.apache.geode.benchmark.tasks.NoopTask;
+import org.apache.geode.benchmark.topology.ClientServerTopology;
+import org.apache.geode.perftest.PerformanceTest;
+import org.apache.geode.perftest.TestConfig;
+import org.apache.geode.perftest.TestRunners;
+
+/**
+ * Benchmark of gets on a partitioned region.
+ */
+public class NoopBenchmark7 implements PerformanceTest {
+
+ @Test
+ public void run() throws Exception {
+ TestRunners.defaultRunner().runTest(this);
+ }
+
+ public NoopBenchmark7() {}
+
+ @Override
+ public TestConfig configure() {
+ TestConfig config = GeodeBenchmark.createConfig();
+ ClientServerTopology.configure(config);
+ config.workload(new NoopTask(), CLIENT);
+ return config;
+
+ }
+}
diff --git a/infrastructure/scripts/aws/run_against_baseline.sh
b/infrastructure/scripts/aws/run_against_baseline.sh
index e44fd4e..87a202d 100755
--- a/infrastructure/scripts/aws/run_against_baseline.sh
+++ b/infrastructure/scripts/aws/run_against_baseline.sh
@@ -19,11 +19,6 @@
set -e -o pipefail
-input="/tmp/build/*/results/benchmarks*/failedTests"
-touch ${input}
-echo "org.apache.geode.benchmark.tests.NoopBenchmark" > ${input}
-exit 1
-
DEFAULT_BENCHMARK_REPO='https://github.com/apache/geode-benchmarks'
BENCHMARK_REPO=${DEFAULT_BENCHMARK_REPO}
DEFAULT_BENCHMARK_BRANCH='develop'