- Notifications
You must be signed in to change notification settings - Fork907
Commita8fbe71
authored
chore(cli): increase healthcheck timeout in TestSupportbundle (#17291)
Fixescoder/internal#272* Increases healthcheck timeout in tests. This seems to be the mostusual cause of test failures.* Adds a non-nilness check before caching a healthcheck report.* Modifies the HTTP response code to 503 (was 404) when no healthcheckreport is available. 503 seems to be a better indicator of the serverstate in this case, whereas 404 could be misinterpreted as a typo in thehealthcheck URL.1 parent8d122aa commita8fbe71
3 files changed
+11
-6
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
| 54 | + | |
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| |||
113 | 114 |
| |
114 | 115 |
| |
115 | 116 |
| |
116 |
| - | |
| 117 | + | |
| 118 | + | |
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
| |||
133 | 135 |
| |
134 | 136 |
| |
135 | 137 |
| |
136 |
| - | |
| 138 | + | |
| 139 | + | |
137 | 140 |
| |
138 | 141 |
| |
139 | 142 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
93 |
| - | |
| 95 | + | |
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 |
| - | |
| 120 | + | |
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
|
0 commit comments
Comments
(0)