Oleg Gurev
79b986494e
Fix tests to skip if no GDB enabled:
...
test_recovery_target_lsn_backup_victim
test_incr_restore_issue_313
test_restore_issue_313
2025-11-28 13:15:58 +03:00
Oleg Gurev
25b2c7ef6b
Update autotests CI job
...
Remove WindowsServer build job
Change unittest to pytest
Add patch apply for REL_18_STABLE+
2025-11-28 13:15:47 +03:00
Oleg Gurev
6b957f19e7
[PBCKP-2775] Make auth_test.py multithreaded
2025-11-27 15:36:52 +03:00
oleg gurev
ebf71447af
[PBCKP-2775] Test test_incr_lsn_long_xact_1 fix
2025-11-27 13:06:45 +01:00
Viktoria Shepard
8d83a90c96
Edit requirements.txt
...
Update testgres version
2025-09-16 15:44:44 +02:00
vshepard
0c02283931
[NOJIRA] remove distutils
2024-06-25 16:41:08 +02:00
Yura Sokolov
f361dda7f3
Revert "Replace BACKUP_PATH in the source files"
...
This reverts commit 90a4a4f4b3 .
2024-05-16 14:08:04 +03:00
oleg gurev
d29b005d23
Rename default-units to no-scale-units
2024-05-06 04:39:06 +03:00
vshepard
da79091ace
Fix test_unfinished_merge for REL_2_5
2024-04-12 12:05:41 +02:00
Alexey Savchkov
e9b8fcb1b2
Remove the version test
2024-04-05 12:22:38 +07:00
Sofia Kopikova
e39a31e369
PBCKP-964 fix bug with incremental restore of relation with more than one segment (always wrong checksum on non-zero segment) + add tests for it
2024-03-13 14:36:37 +03:00
Oleg Gurev
3b741ee4f5
[PBCKP-804] Test_AssertionError_Python3.11 (no attribute 'errors')
2024-03-13 14:36:37 +03:00
Viktoria Shepard
2fd0dda488
Print remote host
2024-03-07 23:28:44 +03:00
Alexey Savchkov
ab05badc9d
Change backup-path to backup-dir
2024-02-14 23:54:50 +07:00
Alexey Savchkov
90a4a4f4b3
Replace BACKUP_PATH in the source files
2024-02-14 23:46:53 +07:00
oleg gurev
17037baea2
[PBCKP-913] Fix WAL switching with huge XLogRecord
...
- Backport of PBCKP-859 bugfix
- increase current segment number when reader has already read it before
- avoid error if reader has to switch WAL again
- add python test for PAGE backup with huge XLog record
2024-02-14 10:51:47 +03:00
Oleg Gurev
287e7fc89f
Add_requirements.txt
...
testgres can be installed with
pip install -r pg_probackup/tests/requirements.txt
2024-02-09 15:51:10 +03:00
Oleg Gurev
43318d696b
[PBCKP-874] Addeded default unit output for config-show
...
- config-show command now has --default-units parameter
- If it is provided, all time and memory
- configuration options will be printed in their default units
- test added, test_help_1 corrected
2024-01-29 20:20:22 +03:00
oleg gurev
58752c5a75
[PBCKP-198] Added tablespaces into show command output
...
- Solve Issue #431
- Output all tablespaces in backup in JSON output
- Output all tablespaces in backup in PLAIN output
2024-01-26 11:02:37 +03:00
Yura Sokolov
343ed029a4
test_recovery_target_lsn_backup_victim - looks like it should pass
...
and not fail
2023-12-27 11:39:10 +03:00
Oleg Gurev
52e47fe196
[PBCKP-218] Incremental restore and missing pg_control (issue #304 )
...
- pg_control file backup after all other files in backup
- pg_control file restore last in full restore
- rename pg_control to pg_control.pbk.bak at start of non-full restore
- remove pg_control.pbk.bak in the end of successfull non-full restore
- use pg_control.pbk.bak after failed non-full restore
- added tests for full and incremental restore
Tags: backup, catchup, restore
2023-12-22 12:28:05 +03:00
Victor Spirin
d26df12019
PBCKP-819: Fixed the recovery-target-timeline command line parameter. It may contain 'current' or 'latest' keywords.
...
recovery-target can be 'latest' too for compatibility with previous versions
2023-12-21 17:39:06 +03:00
Yura Sokolov
de531e62e4
PBCKP-797: fix race condition by waiting
...
and filling same amount of rows.
2023-11-13 15:26:23 +03:00
Viktoriia Shepard
915d066554
fix tests for Pg16 and EE16
2023-10-27 19:50:03 +02:00
Sergey Fukanchik
9762426ce9
PBCKP-732 ignore PGDATA setting in catchup mode as we use --source-pgdata instead
2023-09-21 11:08:24 +00:00
Yuriy Sokolov
c9fc20b898
PBCKP-604: Allow partial incremental restore only with a flag --destroy-all-other-dbs
2023-05-26 19:36:05 +03:00
Victor Spirin
0690f8d10e
[PBCKP-602] Added saving full size for non data files.
2023-04-24 18:22:28 +03:00
Yura Sokolov
b7551bd2bf
PBCKP-91: delete "\r" in windows command output.
2023-04-18 21:25:30 +03:00
Alexey Savchkov
a04f00aacc
Up version
2023-03-28 17:23:44 +07:00
s.fukanchik
c0b8eb7c20
PBCKP-91 fix grammar in probackup's log messages
2023-03-27 21:47:17 +03:00
Daria Lepikhova
9727a98976
PBCKP-422: Fix is_enterprise checking for upstream and pgpro. Add is_pgpro checking
2023-03-10 18:24:46 +03:00
Yura Sokolov
3c111262af
compatibility tests: skip if PGPROBACKUPBIN_OLD is not set
2023-03-07 18:23:48 +03:00
Sergey Fukanchik
be2b90bd3f
PBCKP-553 fix a typo in merge preconditions check
2023-03-06 13:34:53 +03:00
Yura Sokolov
297dd2a7eb
test for previous commit
2023-02-10 15:07:25 +03:00
Victor Spirin
49bb374d0c
[PBCKP-365] Fixed test help_6 test. Added check_locale function for check that locale is installed.
2023-01-17 14:42:12 +03:00
Yura Sokolov
610216c6f8
ptrack_helpers.py: fix compare_pgdata
2023-01-13 15:31:12 +03:00
Yura Sokolov
d3babee2ae
[PBCKP-287] simplify and fix cfs chaining
...
- properly chain only main fork and cfs related forks
- properly chain datafile with its cfm even sort order places other
segments between
- don't raise error for system tables which has no companion cfm.
+ fix couple of tests
2023-01-12 17:30:54 +03:00
Yura Sokolov
fa2902090a
[PBCKP-423] and backport cleanup_ptrack for test_archive_push_sanity
2023-01-12 00:04:47 +03:00
Yura Sokolov
22bdbb3915
[PBCKP-423] test_archive_push_sanity: wait logs with tail_file
...
(and some other test as well).
2023-01-11 23:37:45 +03:00
e.garbuz
bbe41a403d
Fix tests test_restore_from_fullbackup_to_new_location and test_restore_from_fullbackup_to_new_location_5_jobs
2022-12-15 13:37:15 +03:00
Alexey Savchkov
b90273fe14
Increment the expected test version
2022-12-13 22:50:17 +07:00
Sofia Kopikova
076e3fdae9
[PBCKP-394] skip creating partitioned index on < 11 versions on test_checkdb_amcheck_only_sanity
2022-12-12 15:46:17 +03:00
Daniel Shelepanov
822fbbfe50
[PBCKP-326] regex fixed in test_missing_replication_permission_1
...
Everything between WARNING and FATAL sections is now handled with the [\s\S]*? regex:
* [\s\S] is a group that handles any whitespace and non-whitespace character including new lines which are important in this case.
* "*" quantifier means zero or more characters. There may as well be nothing between these two sections.
* "?" quantifies in this case means greedy search so that we don't match more than we need.
2022-12-08 13:53:51 +03:00
Yura Sokolov
25e63c5a7c
raw strings in python regex; ignore generated transation files
...
Author: Sergey Fukanchik
2022-12-08 07:44:12 +03:00
Yura Sokolov
29a9efb4d4
[PBCKP-325] refix test_issue_231
...
to make two backups in one second we have to fail them.
Therefore we have to fetch backup_id from log in exception's message.
Retry for 20 seconds to have a chance to start in one second.
If we couldn't, lets skip the test.
2022-12-06 14:17:04 +03:00
Yura Sokolov
bef73b8ba6
more usages for table_checksum
2022-12-06 01:59:14 +03:00
Yura Sokolov
6bd71d866d
[PBCKP-382] and another one Pg15 pg_backup_stop()
2022-12-06 01:51:22 +03:00
Yuriy Sokolov
f032861577
Merge branch 'PBCKP-382-bug_15_compat' into 'REL_2_5'
...
[PBCKP-382] version 15 compatibility bug
See merge request eepbk/pg_probackup_ee!13
2022-12-06 01:50:00 +03:00
Yura Sokolov
3109634ecb
[PBCKP-325] change test_issue_231 to check backup id are different
2022-12-05 15:49:12 +03:00
Daniel Shelepanov
c42f68ecca
[PBCKP-382] version 15 compatibility bug
2022-12-05 11:21:19 +03:00