Commit 4a174b8
test(platform-server): fix race condition in incremental hydration test
The test was using a brittle fixed timeout of 10ms to wait for change detection to run in Zoneless mode. This failed in CI sometimes presumably because CI can execute slower based on resource constraints. This commit replaces it with a polling approach which checks until the expected content is rendered.1 parent b4a3abd commit 4a174b8
1 file changed
Lines changed: 27 additions & 2 deletions
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
2131 | 2132 | | |
2132 | 2133 | | |
2133 | 2134 | | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
2134 | 2141 | | |
2135 | 2142 | | |
2136 | 2143 | | |
| |||
2164 | 2171 | | |
2165 | 2172 | | |
2166 | 2173 | | |
| 2174 | + | |
2167 | 2175 | | |
2168 | 2176 | | |
2169 | 2177 | | |
2170 | 2178 | | |
2171 | 2179 | | |
2172 | | - | |
2173 | | - | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
2174 | 2199 | | |
2175 | 2200 | | |
2176 | 2201 | | |
| |||
0 commit comments