mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
test: fix race in templateedit_test.go (#8641)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user