Commit f6e9eba
authored
Fix flaky ShapeCache test (#2859)
Before this change, it was easy to see the test fail after just a
handful of runs. The reason was that the simulated snapshotter process
would be resumed before the test process had started waiting on the
snapshot.
This change makes sure there's a process in the consumer's waiting list
before resuming the simulated snapshotter, though it does make the test
aware of implementation details.
This test has failed in two CI jobs spawned by the [commit in
`main`](fbbcad4)
that was supposed to publish a new version of Electric and other
packages.1 parent fbbcad4 commit f6e9eba
1 file changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
| 795 | + | |
800 | 796 | | |
801 | | - | |
| 797 | + | |
| 798 | + | |
802 | 799 | | |
803 | 800 | | |
804 | 801 | | |
| |||
1236 | 1233 | | |
1237 | 1234 | | |
1238 | 1235 | | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1239 | 1257 | | |
0 commit comments