Skip to content

Commit

Permalink
Merge pull request #18664 from ghouscht/issue-18412
Browse files Browse the repository at this point in the history
fix(tests/e2e): ensure spawned cmds are closed
  • Loading branch information
ahrtr authored Oct 2, 2024
2 parents 4e9ed2c + ddf0ac2 commit 5a01649
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/e2e/v2store_deprecation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func TestV2DeprecationWriteOnlySnapshot(t *testing.T) {
t.Log("Verify its infeasible to start etcd with --v2-deprecation=write-only mode")
proc, err := e2e.SpawnCmd([]string{e2e.BinPath.Etcd, "--v2-deprecation=write-only", "--data-dir=" + memberDataDir}, nil)
assert.NoError(t, err)
defer proc.Close()

_, err = proc.Expect("detected disallowed custom content in v2store for stage --v2-deprecation=write-only")
assert.NoError(t, err)
Expand Down

0 comments on commit 5a01649

Please sign in to comment.