forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb68e356
committed
worker_spi: Fix race condition in newly-added TAP tests
The second portion of the tests had a race condition where it would bepossible for the startup of the dynamic workers to fail, in the eventwhere the static workers started before them with the library loading inshared_preload_libraries did not finish to create their respectiveschemas. The conflict is caused by the fact that the dynamic and staticworkers used the same IDs, overlapping each other, so, for now, switchthe dynamic workers to use different IDs, leading to different schemascreated.Reported-by: Andres FreundDiscussion:https://postgr.es/m/20230728022332.egqzobhskmlf6ntr@awork3.anarazel.de1 parent6d982e3 commitb68e356
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
69 |
| - | |
70 |
| - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 |
| |
72 | 74 |
| |
73 | 75 |
| |
|
0 commit comments
Comments
(0)