chore(compat): run sdk-test-java classes in parallel and pre-pull service images (#7212)

* chore(compat): run sdk-test-java classes in parallel and pre-pull service images

The sdk-test-java leg has grown to ~18 min because the suite runs strictly
serially and most of its time is spent waiting on containers Floci starts
and on minute-aligned metric ticks. Run test classes three at a time (the
methods of a class stay on one thread, in order), with @ResourceLock on the
classes that change Organizations or SES account-level state and @Isolated
on the ones that change wider shared state.

Also pull the heavy service images in the background before the tests
start, so they no longer serialize inside the test window, and drop the
stale "~10 min" note from the timing-report comment.

On the homelab runner (x86, 6 vCPU, JVM Floci with CI's flags) the suite
went from 21.5 to 10.7 min with the same 2933 tests and no new failures.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* chore(compat): lock the classes that share port 5432 and floci-duck

The first CI run in parallel failed three tests. RdsControlPlaneTest's DB
proxy could not bind port 5432 while DsqlCompatTest's endpoint held it, so
the two now share a lock. DataLakeTest's Athena query failed in floci-duck
while RedshiftRelationalSpectrumTest was using it; the classes that drive
floci-duck now share a lock too.

EcrTest deleted its last repository and the next CreateRepository stalled
for 30 s, past the SDK's timeout, while Floci kept calling the removed
registry's cached address. The retry then got RepositoryAlreadyExists. The
class now keeps one repository for its whole run, so the registry stays up.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-11-01 11:39:43 -04:00
1 parent d19ad3489e
commit a93a07475e
32 files changed
+99 -2

No files matched your search

@@ -8,6 +8,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.Isolated;
import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.core.retry.backoff.FixedDelayBackoffStrategy;
import software.amazon.awssdk.core.waiters.WaiterResponse;
@@ -29,6 +30,7 @@ import static org.assertj.core.api.Assertions.*;
@DisplayName("ACM Certificate Manager")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@Isolated
class AcmTest {
private static AcmClient acm;
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.core.sync.RequestBody;
import software.amazon.awssdk.services.athena.AthenaClient;
import software.amazon.awssdk.services.athena.model.*;
@@ -17,6 +18,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
@DisplayName("Athena Query Execution")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("floci-duck")
class AthenaTest {
private static AthenaClient athena;
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.Isolated;
import software.amazon.awssdk.services.cloudtrail.CloudTrailClient;
import software.amazon.awssdk.services.cloudtrail.model.CreateTrailResponse;
import software.amazon.awssdk.services.cloudtrail.model.DescribeTrailsResponse;
@@ -14,6 +15,7 @@ import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("CloudTrail")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@Isolated
class CloudTrailTest {
private static CloudTrailClient cloudTrail;
@@ -2,6 +2,7 @@ package com.floci.test;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Isolated;
import software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient;
import software.amazon.awssdk.services.cloudwatchlogs.model.DescribeAccountPoliciesResponse;
import software.amazon.awssdk.services.cloudwatchlogs.model.InvalidParameterException;
@@ -14,6 +15,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("CloudWatch Logs cross-account management APIs")
@Isolated
class CloudWatchLogsCrossAccountPolicyTest {
private static final String DESTINATION_NAME = "floci-sdk-cross-account-destination";
private static final String POLICY_NAME = "floci-sdk-cross-account-transformer";
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.services.athena.AthenaClient;
import software.amazon.awssdk.services.athena.model.*;
@@ -27,6 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
@DisplayName("Data Lake (Athena + Glue + Firehose)")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("floci-duck")
class DataLakeTest {
private static AthenaClient athena;
@@ -2,6 +2,7 @@ package com.floci.test;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.detective.DetectiveClient;
import software.amazon.awssdk.services.detective.model.Account;
import software.amazon.awssdk.services.detective.model.CreateMembersResponse;
@@ -14,6 +15,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("Detective organization administration")
@ResourceLock("organizations")
class DetectiveOrganizationAdministrationTest {
private static final String MANAGEMENT_ACCOUNT = "222222222222";
private static final String ADMIN_ACCOUNT = MANAGEMENT_ACCOUNT;
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.regions.Region;
import software.amazon.awssdk.services.dsql.DsqlClient;
import software.amazon.awssdk.services.dsql.model.ClusterStatus;
@@ -44,6 +45,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("Aurora DSQL")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("port-5432")
class DsqlCompatTest {
private static final Region REGION = TestFixtures.region();
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.Isolated;
import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.services.ecr.EcrClient;
import software.amazon.awssdk.services.ecr.model.*;
@@ -23,6 +24,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
@DisplayName("ECR Container Registry")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@Isolated
class EcrTest {
private static EcrClient ecr;
@@ -33,6 +35,12 @@ class EcrTest {
@BeforeAll
static void setup() {
ecr = TestFixtures.ecrClient();
// Floci removes the backing registry when the last repository goes and starts a new one
// on the next create, which can stall for as long as Floci caches the old container's
// address. These tests are not about that, so one repository stays for the whole class.
String keepRegistry = "floci-it/keep-registry-" + System.nanoTime();
ecr.createRepository(b -> b.repositoryName(keepRegistry));
reposToCleanup.add(keepRegistry);
}
@AfterAll
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.Isolated;
import software.amazon.awssdk.core.waiters.WaiterResponse;
import software.amazon.awssdk.services.ecs.EcsClient;
import software.amazon.awssdk.services.ecs.model.*;
@@ -14,6 +15,7 @@ import static org.assertj.core.api.Assertions.*;
@DisplayName("ECS Elastic Container Service")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@Isolated
class EcsTests {
private static EcsClient ecs;
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.firehose.FirehoseClient;
import software.amazon.awssdk.services.firehose.model.*;
@@ -17,6 +18,7 @@ import static org.assertj.core.api.Assertions.*;
*/
@DisplayName("Firehose data format conversion configuration")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("floci-duck")
class FirehoseDataFormatConversionTest {
private static FirehoseClient firehose;
@@ -8,6 +8,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.services.athena.AthenaClient;
import software.amazon.awssdk.services.athena.model.Datum;
@@ -77,6 +78,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@DisplayName("Firehose data format conversion delivery (JSON to Parquet)")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("floci-duck")
class FirehoseParquetDeliveryTest {
private static final int BUFFERING_INTERVAL_SECONDS = 5;
@@ -2,6 +2,7 @@ package com.floci.test;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.guardduty.GuardDutyClient;
import software.amazon.awssdk.services.guardduty.model.AccountDetail;
import software.amazon.awssdk.services.guardduty.model.AdminStatus;
@@ -35,6 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
@DisplayName("GuardDuty")
@ResourceLock("organizations")
class GuardDutyTest {
@Test
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.iam.IamClient;
import software.amazon.awssdk.services.iam.model.AccessDetail;
import software.amazon.awssdk.services.iam.model.AddRoleToInstanceProfileRequest;
@@ -125,6 +126,7 @@ import static org.assertj.core.api.Assertions.*;
@DisplayName("IAM Identity and Access Management")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("organizations")
class IamTest {
private static IamClient iam;
@@ -3,6 +3,7 @@ package com.floci.test;
import org.jboss.logging.Logger;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.inspector2.Inspector2Client;
import software.amazon.awssdk.services.inspector2.model.AutoEnable;
import software.amazon.awssdk.services.inspector2.model.BatchGetAccountStatusResponse;
@@ -20,6 +21,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("Amazon Inspector organization configuration")
@ResourceLock("organizations")
class Inspector2OrganizationConfigurationTest {
private static final Logger LOG = Logger.getLogger(Inspector2OrganizationConfigurationTest.class);
private static final String MANAGEMENT_ACCOUNT = "test";
@@ -2,6 +2,7 @@ package com.floci.test;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.macie2.Macie2Client;
import software.amazon.awssdk.services.macie2.model.CreateMemberResponse;
@@ -11,6 +12,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("Macie organization administration")
@ResourceLock("organizations")
class MacieOrganizationAdministrationTest {
private static final String MANAGEMENT_ACCOUNT = "222222222222";
private static final String ADMIN_ACCOUNT = "111111111111";
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.organizations.OrganizationsClient;
import software.amazon.awssdk.services.organizations.model.AccessDeniedException;
import software.amazon.awssdk.services.organizations.model.Account;
@@ -36,6 +37,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
* <p>The test tears the organization down at the end so it can be re-run against the same
* Floci instance.
*/
@ResourceLock("organizations")
public class OrganizationsTest {
private static final String SCP_CONTENT =
@@ -2,6 +2,7 @@ package com.floci.test;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.iam.IamClient;
import software.amazon.awssdk.services.organizations.OrganizationsClient;
import software.amazon.awssdk.services.organizations.model.AwsOrganizationsNotInUseException;
@@ -11,6 +12,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("RAM organization sharing")
@ResourceLock("organizations")
class RamOrganizationSharingTest {
private static final String MANAGEMENT_ACCOUNT = "222222222222";
@@ -4,6 +4,7 @@ import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
import software.amazon.awssdk.regions.Region;
@@ -88,6 +89,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.assertj.core.api.Assertions.tuple;
@DisplayName("RDS Control Plane")
@ResourceLock("port-5432")
class RdsControlPlaneTest {
private static final Logger LOG = Logger.getLogger(RdsControlPlaneTest.class.getName());
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.Isolated;
import software.amazon.awssdk.services.s3.S3Client;
import software.amazon.awssdk.services.s3.model.BucketAlreadyOwnedByYouException;
import software.amazon.awssdk.services.s3.model.CreateBucketRequest;
@@ -40,6 +41,7 @@ import static org.assertj.core.api.Assertions.*;
*/
@DisplayName("S3 Control API — ListTagsForResource / TagResource / UntagResource (#341)")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@Isolated
class S3ControlTest {
private static S3Client s3;
@@ -1,6 +1,7 @@
package com.floci.test;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
import software.amazon.awssdk.core.async.SdkPublisher;
@@ -20,6 +21,7 @@ import static org.assertj.core.api.Assertions.*;
@DisplayName("S3 SelectObjectContent")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("floci-duck")
class S3SelectTest {
private static S3Client s3;
@@ -3,6 +3,7 @@ package com.floci.test;
import org.jboss.logging.Logger;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.organizations.OrganizationsClient;
import software.amazon.awssdk.services.organizations.model.AlreadyInOrganizationException;
import software.amazon.awssdk.services.organizations.model.CreateAccountResponse;
@@ -23,6 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
@DisplayName("Security Hub organization configuration")
@ResourceLock("organizations")
class SecurityHubOrganizationConfigurationTest {
private static final Logger LOG = Logger.getLogger(SecurityHubOrganizationConfigurationTest.class);
private static final String MANAGEMENT_ACCOUNT = "test";
@@ -8,6 +8,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.ses.SesClient;
import software.amazon.awssdk.services.ses.model.GetAccountSendingEnabledResponse;
import software.amazon.awssdk.services.ses.model.UpdateAccountSendingEnabledRequest;
@@ -37,6 +38,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
@DisplayName("SES account attributes: sending, suppression, VDM (v1 + v2)")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesAccountAttributesTest {
private static SesClient sesV1;
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.sesv2.SesV2Client;
import software.amazon.awssdk.services.sesv2.model.BatchGetMetricDataQuery;
import software.amazon.awssdk.services.sesv2.model.BatchGetMetricDataRequest;
@@ -48,6 +49,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("SES v2 BatchGetMetricData")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesBatchGetMetricDataTest {
private static final String SENDER = "compat-metrics@example.com";
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.sesv2.SesV2Client;
import software.amazon.awssdk.services.sesv2.model.AlreadyExistsException;
import software.amazon.awssdk.services.sesv2.model.BadRequestException;
@@ -36,6 +37,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("SES v2 Dedicated IP Pools")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesDedicatedIpPoolTest {
private static final String POOL = "compat-pool-alpha";
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.sesv2.SesV2Client;
import software.amazon.awssdk.services.sesv2.model.BadRequestException;
import software.amazon.awssdk.services.sesv2.model.Body;
@@ -48,6 +49,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("SES v2 Export Jobs")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesExportJobTest {
private static final String SENDER = "compat-export@example.com";
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.sesv2.SesV2Client;
import software.amazon.awssdk.services.sesv2.model.Body;
import software.amazon.awssdk.services.sesv2.model.Content;
@@ -39,6 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("SES v2 Message Insights")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesMessageInsightsTest {
private static final String SENDER = "compat-insights@example.com";
@@ -7,6 +7,7 @@ import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.ses.SesClient;
import software.amazon.awssdk.services.ses.model.AlreadyExistsException;
import software.amazon.awssdk.services.ses.model.CannotDeleteException;
@@ -39,6 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
*/
@DisplayName("SES V1 ReceiptRuleSet, ReceiptRule, and ReceiptFilter")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@ResourceLock("ses-account")
class SesReceiptRuleSetTest {
private static SesClient ses;
@@ -4,6 +4,7 @@ import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.services.sesv2.SesV2Client;
import software.amazon.awssdk.services.sesv2.model.BadRequestException;
import software.amazon.awssdk.services.sesv2.model.ListRecommendationsFilterKey;
@@ -28,6 +29,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
* rather than a sentence.
*/
@DisplayName("SES v2 Recommendations")
@ResourceLock("ses-account")
class SesRecommendationTest {
private static final String DOMAIN = TestFixtures.uniqueName("compat-advisor") + ".example.com";
@@ -3,6 +3,7 @@ package io.github.hectorvent.floci.compat;
import com.floci.test.TestFixtures;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.core.sync.RequestBody;
import software.amazon.awssdk.services.glue.GlueClient;
import software.amazon.awssdk.services.glue.model.DatabaseInput;
@@ -24,6 +25,7 @@ import java.util.UUID;
import static org.junit.jupiter.api.Assertions.*;
@ResourceLock("floci-duck")
class RedshiftRelationalSpectrumTest {
@Test
@DisplayName("Glue external tables join internal tables through JDBC and the SDK Data API")
@@ -3,6 +3,7 @@ package io.github.hectorvent.floci.compat;
import com.floci.test.TestFixtures;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.ResourceLock;
import software.amazon.awssdk.core.sync.RequestBody;
import software.amazon.awssdk.services.iam.IamClient;
import software.amazon.awssdk.services.iam.model.CreateRoleRequest;
@@ -32,6 +33,7 @@ import java.util.UUID;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
@ResourceLock("floci-duck")
class RedshiftSpectrumTest {
private static final String ROLE_PREFIX = "SpectrumCompatRole";