Skip to content

Commit 2bcafd0

Browse files
edburnsCopilot
andcommitted
ci(java): remove leaked COPILOT_SDK_DEFAULT_CONNECTION from step env
The java-sdk-inprocess CI job set COPILOT_SDK_DEFAULT_CONNECTION=inprocess as a step-level environment variable, which leaked into surefire unit tests. The Maven inprocess profile already configures this env var only in failsafe's <environmentVariables>, per the design: 'Leave Surefire on its standard transport; only Failsafe ITs use InProcess.' Removing the redundant step-level env var fixes all 195 surefire test errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c4e523e3-9d39-4598-90ec-54d959c44ce8
1 parent e6c0302 commit 2bcafd0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/java-sdk-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
- name: Run Java SDK tests (InProcess)
4545
env:
4646
CI: "true"
47-
COPILOT_SDK_DEFAULT_CONNECTION: inprocess
4847
run: mvn clean verify -Pinprocess
4948

5049
- name: Generate Test Report Summary

0 commit comments

Comments
 (0)