test: fix race in templateedit_test.go (#8641)

This commit is contained in:
Colin Adler
2023-07-21 03:26:55 +00:00
committed by GitHub
parent b47d076756
commit 2901147ae3
+1 -1
View File
@@ -409,7 +409,7 @@ func TestTemplateEdit(t *testing.T) {
clitest.SetupConfig(t, proxyClient, root)
ctx := testutil.Context(t, testutil.WaitLong)
err = inv.WithContext(ctx).Run()
err := inv.WithContext(ctx).Run()
if c.ok {
require.NoError(t, err)
} else {