From d355783faadddfce4961b0e8104fc69824f9aad5 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Mon, 13 Feb 2023 16:54:38 +0200 Subject: [PATCH] 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 --- cli/delete_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/delete_test.go b/cli/delete_test.go index 24a4975d91..2f2cf404fc 100644 --- a/cli/delete_test.go +++ b/cli/delete_test.go @@ -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)