-
Notifications
You must be signed in to change notification settings - Fork 60
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
Refactoring RunConfigAPI.configureRun() #4912
base: master
Are you sure you want to change the base?
Conversation
@gkfthddk It looks good! We need to test it before we can merge it. Can you create some simply unit tests for the new functions you created? They should be located here: |
run unit test please |
Container Tests |
1 similar comment
Container Tests |
run unit test please |
Container Tests |
I'm worried that the separation of functions and shortening of lines have made the script too arbitrary. |
@germanfgv How can I run unit test? The unit test at jenkins fails. |
Please add your unit test in a different file, specific to RunConfigAPI. Put it in the same folder, with name About running the test, you may find the information you need here: You can run it in one of our VMs |
@gkfthddk I fixed a conflict introduced by recent developments. Also, I added instructions to our doc on how to run Unit Tets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if looks good and you came up with good ideas on how to reduce duplicate code. Please add docsctrings to the new functions you created. Focus on describing what the function does in the context of T0. I made a few suggestion of changes to islustrate this point.
Consider also to add or modify existing comments in the sections of code you have modified.
Co-authored-by: Germán Felipe Giraldo Villa <[email protected]>
Co-authored-by: Germán Felipe Giraldo Villa <[email protected]>
I removed insertDAO mapping as the names in the mappings were wrong and I prefer having the individual DAOs for readability |
…eco() detached to stackPhedexSubscription().
Replay Request
Requestor
Team or person that requests this replay
Describe the configuration
Purpose of the test
A replay test is costly, both in computational and human resources. Please describe the reason why this test is needed.
T0 Operations cmsTalk thread
If necessary, provide a link to the cmsTalk thread announcing the test to the relevant groups.
Tier0 Operations cmsTalk Forum