Skip to content

Commit e63769b

Browse files
committed
make tests more reliable
1 parent 2f17c5a commit e63769b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

agent/apphealth_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestAppHealth(t *testing.T) {
3636
// URL: We don't set the URL for this test because the setup will
3737
// create a httptest server for us and set it for us.
3838
Interval: 1,
39-
Threshold: 3,
39+
Threshold: 1,
4040
},
4141
Health: codersdk.WorkspaceAppHealthInitializing,
4242
},
@@ -73,7 +73,7 @@ func TestAppHealth(t *testing.T) {
7373
// URL: We don't set the URL for this test because the setup will
7474
// create a httptest server for us and set it for us.
7575
Interval: 1,
76-
Threshold: 3,
76+
Threshold: 1,
7777
},
7878
Health: codersdk.WorkspaceAppHealthInitializing,
7979
},
@@ -106,7 +106,7 @@ func TestAppHealth(t *testing.T) {
106106
// URL: We don't set the URL for this test because the setup will
107107
// create a httptest server for us and set it for us.
108108
Interval: 1,
109-
Threshold: 3,
109+
Threshold: 1,
110110
},
111111
Health: codersdk.WorkspaceAppHealthInitializing,
112112
},

0 commit comments

Comments
 (0)