We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e271446 + 1b0b755 commit 91e9b08Copy full SHA for 91e9b08
1 file changed
e2e/e2e_test.go
@@ -83,6 +83,11 @@ func run(m *testing.M) int {
83
defer cancel()
84
85
server := exec.CommandContext(ctx, serverBin)
86
+ // TODO: os.Interrupt is not supported on Windows. When Windows e2e
87
+ // tests are added, use a platform-specific shutdown mechanism.
88
+ server.Cancel = func() error {
89
+ return server.Process.Signal(os.Interrupt)
90
+ }
91
server.Dir = root
92
server.Env = append(os.Environ(),
93
"MODEL_RUNNER_PORT="+strconv.Itoa(port),
0 commit comments