Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI test: finalizer to remove the instance backups #988

Closed
389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Closed

CI test: finalizer to remove the instance backups #988

389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Labels
closed: fixed Migration flag - Issue

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/47651

  • Created at 2013-12-20 20:16:38 by tbordaz (@tbordaz)
  • Closed as Fixed
  • Assigned to nobody

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-.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

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 12, 2020
@389-ds-bot
Copy link
Author

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2013-12-20 21:57:42

git merge CItest
Updating 2d4dc97..bacdf01
Fast-forward
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

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2016-02-13 04:52:07

Milestone lib389 1.0 deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant