[389-devel] Please review lib389 ticket 47584 (take #4): CI tests: add backup/restore of an instance
thierry bordaz
tbordaz at redhat.com
Thu Nov 7 21:54:03 UTC 2013
This review takes into account the following recommendations
* skip verbose option (use of log.level).
* use glob.glob to retrieve files matching rather that os.walk
* fix a bug in instanceBackupFS that did not return an already
existing backup
* add two functions to handle instance backup: clearInstanceBackupFS
(to remove one or all backups of an instance), _infoInstanceBackupFS
(just to keep path/pattern info of backup into a single routine)
* do not hard code '/tmp' as directory to store the backups. A new
optional argument 'backupdir' for createInstance, sets the attribute
'dirsrv.backupdir'. By default it takes '/tmp'. The caller of
createInstance (the test case), may provide 'backupdir' from an
environment variable (like it was done with $PREFIX)
https://fedorahosted.org/389/attachment/ticket/47584/0004-Ticket-47584-CI-tests-add-backup-restore-of-an-insta.patch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-devel/attachments/20131107/f4b15d33/attachment.html>
More information about the 389-devel
mailing list