Skip to content

Commit d355783

Browse files
authored
test: Fix cli delete test (#6183)
We were waiting for Cleaning Up which never appeared: https://github.com/coder/coder/actions/runs/4163971602/jobs/7205007285
1 parent a064678 commit d355783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/delete_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestDelete(t *testing.T) {
3939
assert.ErrorIs(t, err, io.EOF)
4040
}
4141
}()
42-
pty.ExpectMatch("Cleaning Up")
42+
pty.ExpectMatch("workspace has been deleted")
4343
<-doneChan
4444
})
4545

@@ -68,7 +68,7 @@ func TestDelete(t *testing.T) {
6868
assert.ErrorIs(t, err, io.EOF)
6969
}
7070
}()
71-
pty.ExpectMatch("Cleaning Up")
71+
pty.ExpectMatch("workspace has been deleted")
7272
<-doneChan
7373
})
7474

@@ -102,7 +102,7 @@ func TestDelete(t *testing.T) {
102102
}
103103
}()
104104

105-
pty.ExpectMatch("Cleaning Up")
105+
pty.ExpectMatch("workspace has been deleted")
106106
<-doneChan
107107

108108
workspace, err = client.Workspace(context.Background(), workspace.ID)

0 commit comments

Comments
 (0)