disable tests that don't work in Github Actions

This commit is contained in:
Tom Hombergs
2020-09-17 20:54:15 +10:00
parent 1eabfebeb0
commit 2958843c5a
2 changed files with 4 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import io.reflectoring.customerregistration.dtos.CustomerCreateRequest;
import io.reflectoring.customerregistration.repositories.CustomerImageStore;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
@@ -34,6 +35,7 @@ import software.amazon.awssdk.services.s3.model.NoSuchKeyException;
@ExtendWith(LocalstackDockerExtension.class)
@ActiveProfiles("local")
@LocalstackDockerProperties(services = { "s3" })
@Disabled(value = "Disabled because starting Docker containers like this does not run on GitHub Actions.")
class CustomerImageStoreTest {
private static final Region region = Region.US_EAST_1;

View File

@@ -10,6 +10,7 @@ import io.reflectoring.customerregistration.dtos.CustomerDto;
import io.reflectoring.customerregistration.repositories.CustomerProfileStore;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
@@ -37,6 +38,7 @@ import software.amazon.awssdk.services.dynamodb.model.ScalarAttributeType;
@ExtendWith(LocalstackDockerExtension.class)
@ActiveProfiles("local")
@LocalstackDockerProperties(services = { "dynamodb"})
@Disabled(value = "Disabled because starting Docker containers like this does not run on GitHub Actions.")
class CustomerProfileStoreTest {
private static final Region region = Region.US_EAST_1;