Commit decf9825 authored by Brian Bland's avatar Brian Bland

Lint

parent 5b31ea5a
...@@ -476,7 +476,8 @@ func TestMissingBatchE2E(t *testing.T) { ...@@ -476,7 +476,8 @@ func TestMissingBatchE2E(t *testing.T) {
sys, err := cfg.Start() sys, err := cfg.Start()
require.Nil(t, err, "Error starting up system") require.Nil(t, err, "Error starting up system")
defer func() { defer func() {
ctx, _ := context.WithTimeout(context.Background(), time.Second) ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
sys.Close(ctx) sys.Close(ctx)
}() }()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment