Skip to content

Commit 0c541c9

Browse files
authored
chore(cli): fix test flake introduced by #15688 (#15724)
1 parent e21a301 commit 0c541c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/delete_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ func TestDelete(t *testing.T) {
184184
user := coderdtest.CreateFirstUser(t, client)
185185
templateAdmin, _ := coderdtest.CreateAnotherUser(t, client, user.OrganizationID, rbac.RoleTemplateAdmin())
186186
version := coderdtest.CreateTemplateVersion(t, templateAdmin, user.OrganizationID, nil)
187+
coderdtest.AwaitTemplateVersionJobCompleted(t, templateAdmin, version.ID)
187188
template := coderdtest.CreateTemplate(t, templateAdmin, user.OrganizationID, version.ID)
188189
workspace := coderdtest.CreateWorkspace(t, templateAdmin, template.ID)
189190
coderdtest.AwaitWorkspaceBuildJobCompleted(t, templateAdmin, workspace.LatestBuild.ID)

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