test(emr): move Hive and Spark steps to nightly checks (#8738)

* test(emr): move Hive steps to nightly checks alongside session checks
* test(emr): declare nightly Hive and Spark timeout
This commit is contained in:
Andre Kurait authored and GitHub committed 2026-11-17 16:50:18 -04:00
1 parent 79897e645a
commit 6a5a464ca8
5 files changed
+27 -30

No files matched your search

@@ -20,6 +20,7 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.junit.jupiter.api.extension.RegisterExtension;
import software.amazon.awssdk.core.sync.RequestBody;
import software.amazon.awssdk.regions.Region;
@@ -52,7 +53,8 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue;
@QuarkusTest
@TestProfile(ContainerDataPlaneProfile.class)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
class EmrHiveStepsDockerIntegrationTest {
@EnabledIfSystemProperty(named = "nightly.checks.enabled", matches = "true")
class EmrHiveStepsNightlyIntegrationTest {
private static final ObjectMapper JSON = new ObjectMapper();
private static final String REGION = "us-east-1";
@@ -94,6 +96,7 @@ class EmrHiveStepsDockerIntegrationTest {
}
@Test
@Timeout(value = 5, unit = TimeUnit.MINUTES)
void hiveAndSparkStepsShareTheClustersMetastoreServiceAndHdfs() {
// The two steps that read what the first one made, and need nothing from each other, run at once.
startCluster(HIVE_AND_SPARK, "[]", null, 2);