Skip to content

Commit c3455c8

Browse files
committed
Add pinned CLI to Failsafe tests.
On branch edburns/java-slash-command-tests Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: java/pom.xml no changes added to commit (use "git add" and/or "git commit -a")
1 parent 26acde9 commit c3455c8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

java/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,14 @@
364364
<project.build.finalName>${project.build.finalName}</project.build.finalName>
365365
<project.build.testOutputDirectory>${project.build.testOutputDirectory}</project.build.testOutputDirectory>
366366
</systemPropertyVariables>
367+
<!--
368+
Keep the integration-test JVM aligned with Surefire so
369+
tests like SlashCommandsIT resolve the pinned CLI from
370+
the cloned harness in target/copilot-sdk/nodejs.
371+
-->
372+
<environmentVariables>
373+
<COPILOT_CLI_PATH>${copilot.cli.path}</COPILOT_CLI_PATH>
374+
</environmentVariables>
367375
</configuration>
368376
</plugin>
369377
<plugin>

0 commit comments

Comments
 (0)