From 76c326ee2109c9c6e2653e5c15de9a6e290ac130 Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Sun, 10 Jul 2022 11:36:06 -0700 Subject: [PATCH 1/4] Test commit for codecov Signed-off-by: Suraj Singh --- gradle.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle.properties b/gradle.properties index 86af9ad62b1a4..6301829544111 100644 --- a/gradle.properties +++ b/gradle.properties @@ -34,3 +34,5 @@ systemProp.jdk.tls.client.protocols=TLSv1.2 # jvm args for faster test execution by default systemProp.tests.jvm.argline=-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m + +systemProp.opensearch.experimental.feature.replication_type.enabled=true From c76cad4b86ff022301f2e7d9cbc91846aaf88c92 Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Mon, 11 Jul 2022 09:05:08 -0700 Subject: [PATCH 2/4] Mute testHighWatermarkNotExceeded Signed-off-by: Suraj Singh --- gradle.properties | 2 -- .../routing/allocation/decider/DiskThresholdDeciderIT.java | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 6301829544111..86af9ad62b1a4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -34,5 +34,3 @@ systemProp.jdk.tls.client.protocols=TLSv1.2 # jvm args for faster test execution by default systemProp.tests.jvm.argline=-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m - -systemProp.opensearch.experimental.feature.replication_type.enabled=true diff --git a/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java b/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java index b5d260f5c3314..e26d5be03cf7a 100644 --- a/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java @@ -153,6 +153,7 @@ protected Collection> nodePlugins() { return Collections.singletonList(InternalSettingsPlugin.class); } + @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/pull/3561") public void testHighWatermarkNotExceeded() throws Exception { internalCluster().startClusterManagerOnlyNode(); internalCluster().startDataOnlyNode(); From 61be6c56b986867c1a0a0e53f4472825bc7b1053 Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Mon, 11 Jul 2022 09:38:42 -0700 Subject: [PATCH 3/4] Add codecov status badge Signed-off-by: Suraj Singh --- README.md | 1 + .../routing/allocation/decider/DiskThresholdDeciderIT.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb1def63340fe..fff303412c9ab 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![codecov](https://codecov.io/gh/opensearch-project/opensearch/branch/main/graph/badge.svg)](https://codecov.io/gh/opensearch-project/opensearch) - [Welcome!](#welcome) diff --git a/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java b/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java index e26d5be03cf7a..b5d260f5c3314 100644 --- a/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDeciderIT.java @@ -153,7 +153,6 @@ protected Collection> nodePlugins() { return Collections.singletonList(InternalSettingsPlugin.class); } - @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/pull/3561") public void testHighWatermarkNotExceeded() throws Exception { internalCluster().startClusterManagerOnlyNode(); internalCluster().startDataOnlyNode(); From d0a3671a63b7b19ff59cf8ef992f7248d361fd2c Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Mon, 11 Jul 2022 13:03:10 -0700 Subject: [PATCH 4/4] Add newline to segregate logo and codecov badge Signed-off-by: Suraj Singh --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fff303412c9ab..df9af5755899b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![codecov](https://codecov.io/gh/opensearch-project/opensearch/branch/main/graph/badge.svg)](https://codecov.io/gh/opensearch-project/opensearch) + - [Welcome!](#welcome)