Skip to content

Commit d171b36

Browse files
authored
fix: flaky: TestDeleteTemplate/NoWorkspaces (#9666)
1 parent 3be783b commit d171b36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/templates_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,7 @@ func TestDeleteTemplate(t *testing.T) {
11611161
user := coderdtest.CreateFirstUser(t, client)
11621162
version := coderdtest.CreateTemplateVersion(t, client, user.OrganizationID, nil)
11631163
template := coderdtest.CreateTemplate(t, client, user.OrganizationID, version.ID)
1164+
coderdtest.AwaitTemplateVersionJob(t, client, version.ID)
11641165

11651166
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
11661167
defer cancel()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy