mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
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:
1 parent
79897e645a
commit
6a5a464ca8
5 files changed
+27
-30
No files matched your search
+4
-1
@@ -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);
|
||||
Reference in new issue
Block a user