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
PR - Ticket 50877 - task to run tests of csn generator #3931
Comments
Comment from firstyear (@Firstyear) at 2020-02-04 02:10:58 This code all looks fine, is there a reason not to put it behind -DDEBUG though? IE is there a need for end-users to be able to run this? |
Comment from lkrispen (@elkris) at 2020-02-04 09:48:07
I think we frequently have customer deployments showing issues we cannot reproduce. Being able to run this test could be useful. I would not document it though. |
Comment from tbordaz (@tbordaz) at 2020-02-04 10:36:51 @Firstyear , @elkris thanks for the review.
For detection in customer deployement we also need more work. at the moment it tests adjustment functions with random csn ahead. It would be interesting to see how csn generator behave with adjustment in the past. An other option would be to replay in real time CSN logged in access log. |
Comment from firstyear (@Firstyear) at 2020-02-05 02:18:28 Okay, I'm happy with this :) It may be good to have lib389 tests and functions related to this too to help us automate this - we can even make tools into the cli that don't list on --help, but could create the test if required. |
Comment from tbordaz (@tbordaz) at 2020-04-21 18:38:37 @Firstyear, was it a ack ? sorry for the delay, the PR got out of my radar but it could now be useful for additional tests with a library playing with the time. |
Comment from firstyear (@Firstyear) at 2020-04-22 01:32:17 Yes it's an ack, but also would be good to have some lib389 tests for it later too to show it works as you want :) |
Comment from tbordaz (@tbordaz) at 2020-04-22 14:02:44 rebased onto 25f46b6931d328e86eaa37185a454010b551360e |
Comment from tbordaz (@tbordaz) at 2020-04-22 15:20:58 rebased onto 88a33cde321bc178a16949494132d1908864ac74 |
Comment from tbordaz (@tbordaz) at 2020-04-22 15:22:51 rebased onto 69a389e |
Comment from tbordaz (@tbordaz) at 2020-04-22 15:23:33 Thanks. Updated patch with lib389 and testcase :) |
Comment from tbordaz (@tbordaz) at 2020-04-22 15:23:57 Pull-Request has been merged by tbordaz |
Patch |
Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/50878
Bug Description:
It exists a test of csn generator (csngen_test()).
It is not called from any function.
Fix Description:
register a task container 'cn=csngen_test,cn=tasks,cn=config"
that calls the test function
Resolves: #3930
Reviewed by: ?
Platforms tested: F29
Flag Day: no
Doc impact: no
The text was updated successfully, but these errors were encountered: