Skip to content

Commit

Permalink
test: un-skip pitr backup and restore tests (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagotnunes committed Mar 10, 2021
1 parent b74b764 commit df59875
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -48,7 +48,6 @@
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
Expand All @@ -60,7 +59,7 @@ public class ITPitrBackupAndRestore {
private static final Logger logger = Logger.getLogger(ITPitrBackupAndRestore.class.getName());

@ClassRule public static IntegrationTestEnv env = new IntegrationTestEnv();
private static final long OP_TIMEOUT = 10;
private static final long OP_TIMEOUT = 20;
private static final TimeUnit OP_TIMEOUT_UNIT = TimeUnit.MINUTES;
private static RemoteSpannerHelper testHelper;
private static DatabaseAdminClient dbAdminClient;
Expand Down Expand Up @@ -106,7 +105,6 @@ public static void tearDown() {
}

@Test
@Ignore("backup and restore for pitr is not released yet")
public void backupCreationWithVersionTimeWithinVersionRetentionPeriodSucceeds() throws Exception {
final DatabaseId backupDatabaseId = testDatabase.getId();
final String restoreDatabaseId = testHelper.getUniqueDatabaseId();
Expand Down Expand Up @@ -147,7 +145,6 @@ public void backupCreationWithVersionTimeWithinVersionRetentionPeriodSucceeds()
}

@Test(expected = SpannerException.class)
@Ignore("backup and restore for pitr is not released yet")
public void backupCreationWithVersionTimeTooFarInThePastFails() throws Exception {
final DatabaseId databaseId = testDatabase.getId();
final InstanceId instanceId = databaseId.getInstanceId();
Expand All @@ -166,7 +163,6 @@ public void backupCreationWithVersionTimeTooFarInThePastFails() throws Exception
}

@Test(expected = SpannerException.class)
@Ignore("backup and restore for pitr is not released yet")
public void backupCreationWithVersionTimeInTheFutureFails() throws Exception {
final DatabaseId databaseId = testDatabase.getId();
final InstanceId instanceId = databaseId.getInstanceId();
Expand Down

0 comments on commit df59875

Please sign in to comment.