mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
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
This commit is contained in:
committed by
GitHub
parent
a064678b8a
commit
d355783faa
@ -39,7 +39,7 @@ func TestDelete(t *testing.T) {
|
||||
assert.ErrorIs(t, err, io.EOF)
|
||||
}
|
||||
}()
|
||||
pty.ExpectMatch("Cleaning Up")
|
||||
pty.ExpectMatch("workspace has been deleted")
|
||||
<-doneChan
|
||||
})
|
||||
|
||||
@ -68,7 +68,7 @@ func TestDelete(t *testing.T) {
|
||||
assert.ErrorIs(t, err, io.EOF)
|
||||
}
|
||||
}()
|
||||
pty.ExpectMatch("Cleaning Up")
|
||||
pty.ExpectMatch("workspace has been deleted")
|
||||
<-doneChan
|
||||
})
|
||||
|
||||
@ -102,7 +102,7 @@ func TestDelete(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
|
||||
pty.ExpectMatch("Cleaning Up")
|
||||
pty.ExpectMatch("workspace has been deleted")
|
||||
<-doneChan
|
||||
|
||||
workspace, err = client.Workspace(context.Background(), workspace.ID)
|
||||
|
Reference in New Issue
Block a user