Commit 6e8ac9f
authored
Hot Reload test fix (#3018)
## Why make this change?
Closes #2010
Note that hot-reload of the graphQL schema is bugged currently, and
tests are still ignored until this issue is resolved:
#3019
## What is this change?
As documented in the issue above, a number of hot-reload tests were
failing due to relying on a simple timeout to allow the hot-reload to
complete within tests. This creates a number of potential problems,
including potential race conditions within the tests. We replace that
strategy with a waiting process and change from syn to async in a number
of functions. We also cleanup the config creation in the tests so that
the new properties added since these tests were ignored fit into the
flow and expectations of the tests.
## How was this tested?
The previously ignored tests are now run and have the ignore tag
removed.
## Sample Request(s)
N/A1 parent 64f28dc commit 6e8ac9f
2 files changed
Lines changed: 283 additions & 104 deletions
File tree
- .pipelines
- src/Service.Tests/Configuration/HotReload
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
250 | 258 | | |
251 | 259 | | |
252 | | - | |
| 260 | + | |
253 | 261 | | |
| 262 | + | |
254 | 263 | | |
255 | 264 | | |
256 | 265 | | |
| |||
0 commit comments