forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitad34146
committed
Add more TAP tests with BASE_BACKUP and pg_backup_start/stop
This commit adds some test coverage foree79647 (prevent BASE_BACKUPfrom running in the middle of another base backup) andb24b2be(BASE_BACKUP cancellation followed by pg_backup_start), caused by theinteractions of replication and SQL commands in a logical replicationconnection in a WAL sender.The second test uses a design close to what has been introduced in0475a97, where BASE_BACKUP is throttled to give enough room for acancellation, though this time we rely on psql with multiple -cswitches to keep a connection around for the second query.Reviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/Ys/NCI4Eo9300GnQ@paquier.xyz1 parent3451a57 commitad34146
1 file changed
+55
-0
lines changedLines changed: 55 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
531 | 531 |
| |
532 | 532 |
| |
533 | 533 |
| |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
534 | 589 |
|
0 commit comments
Comments
(0)