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.
1 parent a163625 commit 8823b37Copy full SHA for 8823b37
cmd/state-svc/test/integration/svc_int_test.go
@@ -157,9 +157,11 @@ func (suite *SvcIntegrationTestSuite) TestStartDuplicateErrorOutput() {
157
func (suite *SvcIntegrationTestSuite) TestSingleSvc() {
158
suite.OnlyRunForTags(tagsuite.Service)
159
ts := e2e.New(suite.T(), false)
160
- // TODO: CP-1268 should remove this conditional.
+ // TODO: CP-1268 should remove this conditional and just keep the defer.
161
if runtime.GOOS != "windows" || !condition.OnCI() {
162
defer ts.Close()
163
+ } else {
164
+ s.SpawnCmd(s.SvcExe, "stop") // try to stop, but do not assert success
165
}
166
167
ts.SpawnCmdWithOpts(ts.SvcExe, e2e.OptArgs("stop"))
0 commit comments