Skip to content

Commit

Permalink
[test] fix test names
Browse files Browse the repository at this point in the history
For aws s3 and ec2
  • Loading branch information
dadoonet committed Sep 3, 2015
1 parent 4bffdbf commit 6953193
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
Expand Up @@ -25,7 +25,7 @@

import static org.hamcrest.CoreMatchers.is;

public class AWSSignersTest extends ESTestCase {
public class AWSSignersTests extends ESTestCase {

@Test
public void testSigners() {
Expand Down
Expand Up @@ -39,7 +39,7 @@
* in order to run these tests.
*/
@ThirdParty
public abstract class AbstractAwsTest extends ESIntegTestCase {
public abstract class AbstractAwsTestCase extends ESIntegTestCase {

/**
* Those properties are set by the AWS SDK v1.9.4 and if not ignored,
Expand Down
Expand Up @@ -20,7 +20,7 @@
package org.elasticsearch.discovery.ec2;


import org.elasticsearch.cloud.aws.AbstractAwsTest;
import org.elasticsearch.cloud.aws.AbstractAwsTestCase;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.plugin.discovery.ec2.Ec2DiscoveryPlugin;
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
Expand All @@ -35,7 +35,7 @@
* This test requires AWS to run.
*/
@ClusterScope(scope = Scope.TEST, numDataNodes = 0, numClientNodes = 0, transportClientRatio = 0.0)
public class Ec2DiscoveryITest extends AbstractAwsTest {
public class Ec2DiscoveryTests extends AbstractAwsTestCase {

@Test
public void testStart() {
Expand Down
Expand Up @@ -21,7 +21,7 @@


import org.elasticsearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
import org.elasticsearch.cloud.aws.AbstractAwsTest;
import org.elasticsearch.cloud.aws.AbstractAwsTestCase;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.plugin.discovery.ec2.Ec2DiscoveryPlugin;
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
Expand All @@ -37,7 +37,7 @@
* This test requires AWS to run.
*/
@ClusterScope(scope = Scope.TEST, numDataNodes = 0, numClientNodes = 0, transportClientRatio = 0.0)
public class Ec2DiscoveryUpdateSettingsITest extends AbstractAwsTest {
public class Ec2DiscoveryUpdateSettingsTests extends AbstractAwsTestCase {

@Test
public void testMinimumMasterNodesStart() {
Expand Down
Expand Up @@ -25,7 +25,7 @@

import static org.hamcrest.CoreMatchers.is;

public class AWSSignersTest extends ESTestCase {
public class AWSSignersTests extends ESTestCase {

@Test
public void testSigners() {
Expand Down
Expand Up @@ -39,7 +39,7 @@
* in order to run these tests.
*/
@ThirdParty
public abstract class AbstractAwsTest extends ESIntegTestCase {
public abstract class AbstractAwsTestCase extends ESIntegTestCase {

/**
* Those properties are set by the AWS SDK v1.9.4 and if not ignored,
Expand Down
Expand Up @@ -32,7 +32,7 @@
/**
* Unit test for {@link S3OutputStream}.
*/
public class S3OutputStreamTest extends ESTestCase {
public class S3OutputStreamTests extends ESTestCase {

private static final int BUFFER_SIZE = S3BlobStore.MIN_BUFFER_SIZE.bytesAsInt();

Expand Down
Expand Up @@ -29,7 +29,7 @@
import org.elasticsearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.client.ClusterAdminClient;
import org.elasticsearch.cloud.aws.AbstractAwsTest;
import org.elasticsearch.cloud.aws.AbstractAwsTestCase;
import org.elasticsearch.cloud.aws.AwsS3Service;
import org.elasticsearch.cluster.ClusterState;
import org.elasticsearch.common.settings.Settings;
Expand All @@ -53,7 +53,7 @@
/**
*/
@ClusterScope(scope = Scope.SUITE, numDataNodes = 2, numClientNodes = 0, transportClientRatio = 0.0)
abstract public class AbstractS3SnapshotRestoreTest extends AbstractAwsTest {
abstract public class AbstractS3SnapshotRestoreTest extends AbstractAwsTestCase {

@Override
public Settings indexSettings() {
Expand Down
Expand Up @@ -27,7 +27,7 @@
* cloud.aws.s3.proxy_host: mys3proxy.company.com
* cloud.aws.s3.proxy_port: 8080
*/
public class S3ProxiedSnapshotRestoreOverHttpsTest extends AbstractS3SnapshotRestoreTest {
public class S3ProxiedSnapshotRestoreOverHttpsTests extends AbstractS3SnapshotRestoreTest {

private boolean proxySet = false;

Expand Down
Expand Up @@ -23,7 +23,7 @@

/**
*/
public class S3SnapshotRestoreOverHttpTest extends AbstractS3SnapshotRestoreTest {
public class S3SnapshotRestoreOverHttpTests extends AbstractS3SnapshotRestoreTest {
@Override
public Settings nodeSettings(int nodeOrdinal) {
Settings.Builder settings = Settings.builder()
Expand Down
Expand Up @@ -23,7 +23,7 @@

/**
*/
public class S3SnapshotRestoreOverHttpsTest extends AbstractS3SnapshotRestoreTest {
public class S3SnapshotRestoreOverHttpsTests extends AbstractS3SnapshotRestoreTest {
@Override
public Settings nodeSettings(int nodeOrdinal) {
Settings.Builder settings = Settings.builder()
Expand Down

0 comments on commit 6953193

Please sign in to comment.