forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8d0138e

Amit Kapila
Fix the random test failure in 001_rep_changes.
The check to test whether the subscription workers were restarting after achange in the subscription was failing. The reason was that the test wasassuming the walsender started before it reaches the 'streaming' state andthe walsender was exiting due to an error before that. Now, the walsenderwas erroring out before reaching the 'streaming' state because it tries toacquire the slot before the previous walsender has exited.In passing, improve the die messages so that it is easier to investigatethe failures in the future if any.Reported-by: Michael Paquier, as per buildfarmAuthor: Ajin CherianReviewed-by: Masahiko Sawada, Amit KapilaBackpatch-through: 10, where this test was introducedDiscussion:https://postgr.es/m/YRnhFxa9bo73wfpV@paquier.xyz1 parentb175b9c commit8d0138e
File tree
2 files changed
+18
-16
lines changed- src/test/subscription/t
2 files changed
+18
-16
lines changedLines changed: 14 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
417 |
| - | |
418 |
| - | |
419 |
| - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
420 | 422 |
| |
421 |
| - | |
| 423 | + | |
422 | 424 |
| |
423 | 425 |
| |
424 | 426 |
| |
425 | 427 |
| |
426 | 428 |
| |
427 |
| - | |
428 |
| - | |
| 429 | + | |
| 430 | + | |
429 | 431 |
| |
430 | 432 |
| |
431 |
| - | |
| 433 | + | |
432 | 434 |
| |
433 | 435 |
| |
434 | 436 |
| |
435 | 437 |
| |
436 | 438 |
| |
437 |
| - | |
438 |
| - | |
| 439 | + | |
| 440 | + | |
439 | 441 |
| |
440 | 442 |
| |
441 | 443 |
| |
| |||
483 | 485 |
| |
484 | 486 |
| |
485 | 487 |
| |
486 |
| - | |
| 488 | + | |
487 | 489 |
| |
488 | 490 |
| |
489 | 491 |
| |
490 | 492 |
| |
491 |
| - | |
492 |
| - | |
| 493 | + | |
| 494 | + | |
493 | 495 |
| |
494 | 496 |
| |
495 | 497 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
| 238 | + | |
239 | 239 |
| |
240 | 240 |
| |
241 |
| - | |
| 241 | + | |
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
260 |
| - | |
| 260 | + | |
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
|
0 commit comments
Comments
(0)