#47651 CI test: finalizer to remove the instance backups
Closed: Fixed None Opened 5 years ago by tbordaz.

When running the CI tests, it creates backups of the instances. These backups are used to reinitialized the instances between each test suite. At the end of the test suites, the backups are not removed (under /tmp/slapd-<serverid>.bck/*).
So during the next run, the backup created by the previous run will be reused.

This is a problem when it is a different user that run the tests

The solution is to make finalizer (launch after all test suites) to remove the backups

git merge CItest
Updating 2d4dc97..bacdf01
dirsrvtests/tickets/finalizer.py | 3 +++
1 file changed, 3 insertions(+)

git push origin master

Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 557 bytes, done.
Total 5 (delta 3), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
2d4dc97..bacdf01 master -> master

commit bacdf01
Author: Thierry bordaz (tbordaz) tbordaz@redhat.com
Date: Fri Dec 20 14:33:11 2013 +0100

Milestone lib389 1.0 deleted

Login to comment on this ticket.