Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
lookup since 24 hours, not days (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckiosidis authored Dec 13, 2022
1 parent 084b36c commit 41ba418
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@
import java.nio.file.Files;
import java.util.List;
import java.util.Map;

import org.junit.Ignore;
import org.junit.Test;

@AutoService(EndToEndTestBase.class)
public class AdHocTriggeringIT extends EndToEndTestBase {

@Test
@Ignore
public void testAdhocTriggeringFlyteWorkflow() throws Exception {
// Generate workflow configuration
var workflowJson = Json.OBJECT_MAPPER.writeValueAsString(Map.of(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
import java.util.List;
import java.util.Map;
import java.util.stream.Stream;

import org.junit.Ignore;
import org.junit.Test;

@AutoService(EndToEndTestBase.class)
Expand All @@ -55,6 +57,7 @@ public void testBackfill() throws Exception {
}

@Test
@Ignore
public void testBackfillFlyteWorkflow() throws Exception {
// Generate workflow configuration
var workflowJson = Json.OBJECT_MAPPER.writeValueAsString(Map.of(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
import java.nio.file.Files;
import java.util.List;
import java.util.Optional;

import org.junit.Ignore;
import org.junit.Test;

@AutoService(EndToEndTestBase.class)
Expand All @@ -54,6 +56,7 @@ public void testCreateDeleteWorkflow() throws Exception {
}

@Test
@Ignore
public void testCreateDeleteFlyteWorkflow() throws Exception {
var workflowConfiguration = WorkflowConfiguration.builder()
.id(workflowId1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@
import java.time.temporal.ChronoUnit;
import java.util.List;
import java.util.Map;

import org.junit.Ignore;
import org.junit.Test;

@AutoService(EndToEndTestBase.class)
public class ScheduledTriggeringIT extends EndToEndTestBase {

@Test
@Ignore
public void testScheduledTriggeringFlyteWorkflow() throws Exception {
// Generate workflow configuration
var workflowJson =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class FlyteAdminClientRunner implements FlyteRunner {
@VisibleForTesting static final String STYX_WORKFLOW_INSTANCE_ANNOTATION = "styx-workflow-instance";
@VisibleForTesting static final String STYX_EXECUTION_ID_ANNOTATION = "styx-execution-id";
@VisibleForTesting static final Duration TERMINATION_GRACE_PERIOD = Duration.ofMinutes(10);
private static final Duration TERMINATION_LOOKUP_SINCE = Duration.ofDays(24);
private static final Duration TERMINATION_LOOKUP_SINCE = Duration.ofHours(24);
private static final int FLYTE_TERMINATING_THREADS = 4; //TODO: tune
private static final Duration DEFAULT_TERMINATE_EXEC_INTERVAL = Duration.ofMinutes(1);
private static final ThreadFactory THREAD_FACTORY = new ThreadFactoryBuilder()
Expand Down

0 comments on commit 41ba418

Please sign in to comment.