Fixes for integration tests with partial pileup features #11972
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #11736
Status
ready
During integration tests we found that written JSON contains empty structure like
{'mc': {}}
. During debugging process we found two issues:updateBlockInfo
may provide empty json dict which is passed to json config filegetBlockInfo4PU
fromWMCore/Services/DBS/DBSConcurrency.py
module contains hard-coded cmsweb production dbs URL which may not provide correct content when we perform tests on testbed due to different databases used in production and testbed DBS.This PR fixes both issues. In addition, it adds proper configuration to
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
Here are additional changes applied to other repositories which should be applied together with this PR:
I made this new PR in favor of #11969 which was damaged during rebase procedure and changes were not propagated back to PR.
External dependencies / deployment changes