Skip to content

Commit 4f8d292

Browse files
author
psubram3
committed
revise file locations in ExternalEventsSchedulingTests
NOTE TO REVIEWER - was having difficulties when trying to use a build/libs/scheduling/....jar path owing to a weird gradle issue. This is why these tests have been updated to just use build/libs/....jar, but this isn't a complete fix. Ideally, the constraints can go in a constraint subfolder and goals in a scheduling folder (i.e. build/libs/scheduling and a build/libs/constraints directory).
1 parent 71f1b4d commit 4f8d292

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

e2e-tests/src/test/java/gov/nasa/jpl/aerie/e2e/procedural/scheduling/ExternalEventsSchedulingTests.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void localAfterEach() throws IOException {
4848
void testExternalEventSimple() throws IOException {
4949
// first, run the goal
5050
try (final var gateway = new GatewayRequests(playwright)) {
51-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsSimpleGoal.jar");
51+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsSimpleGoal.jar");
5252
// Add Scheduling Procedure
5353
procedureId = hasura.createSchedulingSpecProcedure(
5454
"Test Scheduling Procedure",
@@ -86,7 +86,7 @@ void testExternalEventSimple() throws IOException {
8686
void testExternalEventTypeQuery() throws IOException {
8787
// first, run the goal
8888
try (final var gateway = new GatewayRequests(playwright)) {
89-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsTypeQueryGoal.jar");
89+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsTypeQueryGoal.jar");
9090
// Add Scheduling Procedure
9191
procedureId = hasura.createSchedulingSpecProcedure(
9292
"Test Scheduling Procedure",
@@ -125,7 +125,7 @@ void testExternalEventTypeQuery() throws IOException {
125125
void testExternalEventSourceQuery() throws IOException {
126126
// first, run the goal
127127
try (final var gateway = new GatewayRequests(playwright)) {
128-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsSourceQueryGoal.jar");
128+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsSourceQueryGoal.jar");
129129
// Add Scheduling Procedure
130130
procedureId = hasura.createSchedulingSpecProcedure(
131131
"Test Scheduling Procedure",
@@ -151,7 +151,7 @@ void testExternalEventSourceQuery() throws IOException {
151151
void testExternalSourceAttribute() throws IOException {
152152
// first, run the goal
153153
try (final var gateway = new GatewayRequests(playwright)) {
154-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsSourceAttributeQueryGoal.jar");
154+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsSourceAttributeQueryGoal.jar");
155155
// Add Scheduling Procedure
156156
procedureId = hasura.createSchedulingSpecProcedure(
157157
"Test Scheduling Procedure",
@@ -189,7 +189,7 @@ void testExternalSourceAttribute() throws IOException {
189189
void testExternalEventAttribute() throws IOException {
190190
// first, run the goal
191191
try (final var gateway = new GatewayRequests(playwright)) {
192-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsEventAttributeQueryGoal.jar");
192+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsEventAttributeQueryGoal.jar");
193193
// Add Scheduling Procedure
194194
procedureId = hasura.createSchedulingSpecProcedure(
195195
"Test Scheduling Procedure",
@@ -228,7 +228,7 @@ void testExternalEventAttribute() throws IOException {
228228
void testOptionalSourceAttribute() throws IOException {
229229
// first, run the goal
230230
try (final var gateway = new GatewayRequests(playwright)) {
231-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsSourceAttributeOptionalQueryGoal.jar");
231+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsSourceAttributeOptionalQueryGoal.jar");
232232
// Add Scheduling Procedure
233233
procedureId = hasura.createSchedulingSpecProcedure(
234234
"Test Scheduling Procedure",
@@ -266,7 +266,7 @@ void testOptionalSourceAttribute() throws IOException {
266266
void testOptionalEventAttribute() throws IOException {
267267
// first, run the goal
268268
try (final var gateway = new GatewayRequests(playwright)) {
269-
int procedureJarId = gateway.uploadJarFile("build/libs/scheduling/ExternalEventsEventAttributeOptionalQueryGoal.jar");
269+
int procedureJarId = gateway.uploadJarFile("build/libs/ExternalEventsEventAttributeOptionalQueryGoal.jar");
270270
// Add Scheduling Procedure
271271
procedureId = hasura.createSchedulingSpecProcedure(
272272
"Test Scheduling Procedure",

0 commit comments

Comments
 (0)