renme tests to reflect replica and not backup

This commit is contained in:
kimchy 2010-08-19 13:11:53 +03:00
parent 27e92cd505
commit fd569a9523
4 changed files with 8 additions and 8 deletions

View File

@ -41,9 +41,9 @@ import static org.hamcrest.Matchers.*;
/**
* @author kimchy (shay.banon)
*/
public class BackupAllocatedAfterPrimaryTests {
public class ReplicaAllocatedAfterPrimaryTests {
private final ESLogger logger = Loggers.getLogger(BackupAllocatedAfterPrimaryTests.class);
private final ESLogger logger = Loggers.getLogger(ReplicaAllocatedAfterPrimaryTests.class);
@Test public void testBackupIsAllocatedAfterPrimary() {

View File

@ -49,9 +49,9 @@ import static org.hamcrest.Matchers.*;
/**
* @author kimchy (shay.banon)
*/
public class SingleShardNoBackupsRoutingStrategyTests {
public class SingleShardNoReplicasRoutingStrategyTests {
private final ESLogger logger = Loggers.getLogger(SingleShardNoBackupsRoutingStrategyTests.class);
private final ESLogger logger = Loggers.getLogger(SingleShardNoReplicasRoutingStrategyTests.class);
@Test public void testSingleIndexStartedShard() {
ShardsRoutingStrategy strategy = new ShardsRoutingStrategy();

View File

@ -41,9 +41,9 @@ import static org.hamcrest.Matchers.*;
/**
* @author kimchy (shay.banon)
*/
public class SingleShardOneBackupRoutingStrategyTests {
public class SingleShardOneReplicaRoutingStrategyTests {
private final ESLogger logger = Loggers.getLogger(SingleShardOneBackupRoutingStrategyTests.class);
private final ESLogger logger = Loggers.getLogger(SingleShardOneReplicaRoutingStrategyTests.class);
@Test public void testSingleIndexFirstStartPrimaryThenBackups() {
ShardsRoutingStrategy strategy = new ShardsRoutingStrategy();

View File

@ -41,9 +41,9 @@ import static org.hamcrest.Matchers.*;
/**
* @author kimchy (shay.banon)
*/
public class TenShardsOneBackupRoutingTests {
public class TenShardsOneReplicaRoutingTests {
private final ESLogger logger = Loggers.getLogger(TenShardsOneBackupRoutingTests.class);
private final ESLogger logger = Loggers.getLogger(TenShardsOneReplicaRoutingTests.class);
@Test public void testSingleIndexFirstStartPrimaryThenBackups() {
ShardsRoutingStrategy strategy = new ShardsRoutingStrategy();