Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2023a1

Browse files
committed
Rollback dormant at test
1 parent e1d5fec commit a2023a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/autobuild/lifecycle_executor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ func TestNotifications(t *testing.T) {
11121112

11131113
// Check that the workspace is dormant
11141114
workspace = coderdtest.MustWorkspace(t, client, workspace.ID)
1115-
require.Equal(t, workspace.DormantAt, workspace.LastUsedAt.Add(timeTilDormant))
1115+
require.NotNil(t, workspace.DormantAt)
11161116

11171117
// Check that a notification was enqueued
11181118
require.Len(t, notifyEnq.Sent, 1)

0 commit comments

Comments
 (0)