Some tests use default backup directory

Bug #1688493 reported by Vasily Nemkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
New
Low
Unassigned

Bug Description

If --target-dir argument is not set, xrabackup does backup to default directory (./xtrabackup_backupfiles). That might be Ok in real world, but also could introduce random test failures if several tests try to do stuff in the same directory simultaneously.

There is at least one test in 2.3 that does that:
t/bug1367377.sh

IMO we should do following:
Make ./xtrabackup_backupfiles read-only, so the test that has no --target-dir would fail.
Update existing tests, namely t/bug1367377.sh to use explicit backup destination.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-950

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.