Commit 99c4f69
committed
Fix flaky PostponingExistingFunctionFromControlPanelSucceeds
The test postponed to new DateTime(1_000_000) - a year-0001 timestamp that
is already expired - so the PostponedWatchdog could resume the function and
flip its status from Postponed to Executing before the assertions ran. Postpone
to a future timestamp (DateTime.UtcNow.AddDays(1)) instead, matching the sibling
PostponingExistingActionFromControlPanelSucceeds test, which closes the race.1 parent b3d30f6 commit 99c4f69
1 file changed
Lines changed: 4 additions & 3 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
0 commit comments