Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Changing the name of the rcaIT to gauntlet #511

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ e.g.
### Adding your own tests
- You can add a unit tests using the junit framework
- There is also a mechanism to add integration tests for the RCA framework. For details, please
see [here](docs/rcait.md).
see [here](docs/gauntlet.md).

Before submitting the PR, we request that you also run
```shell script
Expand Down
2 changes: 1 addition & 1 deletion docs/rcait.md → docs/gauntlet.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Rca Integration test framework
# __Gauntlet__ : Rca Integration test framework

## Scope
To be able to test scenarios where multiple RCA Schedulers are running on different hosts of a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
* permissions and limitations under the License.
*/

package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerWebServer;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.config.PluginSettings;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.core.Util;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.metrics.AllMetrics;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.AMetric;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.HostTag;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.AMetric;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.HostTag;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.threads.ThreadProvider;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.threads.exceptions.PAThreadException;
import com.google.gson.JsonElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,21 @@
* permissions and limitations under the License.
*/

package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.AppContext;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.ClientServers;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.core.Util;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.metrics.AllMetrics;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.net.GRPCConnectionManager;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.RcaController;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.AMetric;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.ATable;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.ATuple;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.HostTag;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.overrides.RcaControllerIt;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.overrides.RcaItMetricsDBProvider;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.AMetric;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.ATable;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.ATuple;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.HostTag;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.overrides.RcaControllerIt;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.overrides.RcaItMetricsDBProvider;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.scheduler.RCAScheduler;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.scheduler.RcaSchedulerState;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.reader.ClusterDetailsEventProcessor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework;

public interface RcaItMarker {
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.RcaControllerHelper;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.AMetric;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.ARcaConf;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.ARcaGraph;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.AMetric;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.ARcaConf;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.ARcaGraph;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.ClusterType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.HostTag;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.HostTag;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.Consts;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.HostTag;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.HostTag;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.api;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.api;

import com.google.gson.JsonElement;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.api;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.api;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.Cluster;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.HostTag;
import com.google.gson.JsonArray;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.Cluster;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.HostTag;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* permissions and limitations under the License.
*/

package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs;

/**
* Types of clusters supported by the integration test framework.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs;

public class Consts {
public static final String RCA_IT_BASE_DIR = "/tmp/rcaIt";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs;

public enum HostTag {
ELECTED_MASTER,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.log;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.log;

import java.util.Collection;
import java.util.Objects;
Expand All @@ -12,7 +12,6 @@
import org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory;
import org.apache.logging.log4j.core.config.builder.api.RootLoggerComponentBuilder;
import org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration;
import org.junit.Assert;

public class AppenderHelper {
public static Configuration addMemoryAppenderToRootLogger() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.log;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.log;

import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* permissions and limitations under the License.
*/

package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.overrides;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.overrides;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.framework.core.RcaConf;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.framework.util.RcaConsts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* permissions and limitations under the License.
*/

package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.overrides;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.overrides;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.AppContext;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.ClientServers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.overrides;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.overrides;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.metricsdb.Dimensions;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.metricsdb.Metric;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.runners;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.runners;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.Cluster;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.Cluster;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.Consts;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.runners;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.runners;

public class RcaItNotEncryptedRunner extends RcaItRunnerBase {
private static final boolean USE_HTTPS = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.runners;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.runners;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.core.Util;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.Cluster;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.RcaItMarker;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.TestEnvironment;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.AClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.AErrorPatternIgnored;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.annotations.AExpect;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.api.IValidator;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.api.TestApi;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.log.AppenderHelper;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.Cluster;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.RcaItMarker;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.TestEnvironment;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.AClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.AErrorPatternIgnored;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.annotations.AExpect;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.api.IValidator;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.api.TestApi;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.ClusterType;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.log.AppenderHelper;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.persistence.actions.PersistedAction;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rest.QueryRcaRequestHandler;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.tests.cache_tuning;
package com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.tests.cache_tuning;

import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.integTests.framework.configs.Consts;
import com.amazon.opendistro.elasticsearch.performanceanalyzer.rca.gauntlet.framework.configs.Consts;

public class Constants {
public static final String CACHE_TUNING_RESOURCES_DIR = Consts.INTEG_TESTS_SRC_DIR + "./tests/cache_tuning/resource/";
Expand Down
Loading