-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Modernize CondCore/ESSources/test
#36429
Modernize CondCore/ESSources/test
#36429
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36429/27251
|
A new Pull Request was created by @francescobrivio for master. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @ggovi, @francescobrivio, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
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.
Thanks @francescobrivio, a couple of other comments.
Also I think there are more modules that could be made global
(but not strong opinion, as these are test programs).
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36429/27260
|
@makortel in 49807ab I added
As far as I understood the code should always complain in this case when |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36429/27263
|
as far as I can see, that module is not even compiled: cmssw/CondCore/ESSources/test/BuildFile.xml Lines 1 to 33 in 9d1098c
|
@cmsbuild please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36429/27282
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d5d596/21150/summary.html Comparison SummarySummary:
|
|
||
private: | ||
const edm::ESGetToken<mySiStripNoises, mySiStripNoisesRcd> theNoisesToken_; |
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.
@francescobrivio does this token ( and all the others added ) need to be initialise with esConsumes ?
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.
it's initialized few lines before (line 19):
explicit NoisesAnalyzer(edm::ParameterSet const& p) : theNoisesToken_(esConsumes())
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.
@francescobrivio thanks, did not noticed...
+alca |
+db
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Following comment in #36419 (comment) I modernized scripts in
CondCore/ESSources/test
to:esConsumes
EDModules
to be thread-safecout
toLogPrint
PR validation:
Code compiles
Backport:
Not a backport, no backport needed.