diff --git a/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/SchedulingTests.java b/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/SchedulingTests.java index 5f1a81c0fc..b84d6254c7 100644 --- a/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/SchedulingTests.java +++ b/e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/SchedulingTests.java @@ -47,6 +47,8 @@ public class SchedulingTests { private int modelId; private int planId; private int schedulingSpecId; + private int directiveId1; + private int directiveId2; // Cross-Test Constants private final String planStartTimestamp = "2023-01-01T00:00:00+00:00"; @@ -130,6 +132,9 @@ void beforeEach() throws IOException, InterruptedException { "24:00:00", planStartTimestamp); schedulingSpecId = hasura.getSchedulingSpecId(planId); + // Unset directiveId vars + directiveId1 = -1; + directiveId2 = -1; } @AfterEach @@ -139,8 +144,6 @@ void afterEach() throws IOException { hasura.deleteMissionModel(modelId); } - private int directiveId1 = -1; - private int directiveId2 = -1; private void insertActivities() throws IOException { // Duration argument is specified on one but not the other to verify that the scheduler can pick up on effective args