diff --git a/e2e/framework/retry_test.go b/e2e/framework/retry_test.go index 7503081b19..a5a753d446 100644 --- a/e2e/framework/retry_test.go +++ b/e2e/framework/retry_test.go @@ -71,6 +71,26 @@ func TestIsRetryableSSHError_WorkspaceNotFound(t *testing.T) { ) } +func TestIsRetryableSSHError_NoSuchContainer(t *testing.T) { + assert.True( + t, + isRetryableSSHError( + exitError(t, "1"), + "Error: no such container: devsy-workspace-abc123", + ), + ) +} + +func TestIsRetryableSSHError_BrokenPipe(t *testing.T) { + assert.True( + t, + isRetryableSSHError( + exitError(t, "1"), + "write: broken pipe", + ), + ) +} + func TestIsRetryableSSHError_ForkExecPermissionDenied(t *testing.T) { assert.True( t,