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
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)
2d4dc97..bacdf01 master -> master
Author: Thierry bordaz (tbordaz) email@example.com
Date: Fri Dec 20 14:33:11 2013 +0100
Milestone lib389 1.0 deleted
to comment on this ticket.