disable tests that don't work in Github Actions
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user