-
Notifications
You must be signed in to change notification settings - Fork 495
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
Fix race test failure in core/cache #16732
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add debugging to migration ci tests
hpidcock
approved these changes
Jan 4, 2024
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.
Awesome, thanks for the fix.
/merge |
Merged
wallyworld
pushed a commit
to wallyworld/juju
that referenced
this pull request
Jan 4, 2024
juju#16733 Merge 3.3 juju#16732 [from wallyworld/fix-cache-race](juju@4acafa2)
Merged
jujubot
added a commit
that referenced
this pull request
Jan 8, 2024
#16745 Merges: - #16692 - #16721 - #16723 - #16728 - #16730 - #16731 - #16732 - #16734 - #16733 - #16718 - #16727 - #16735 Conflicts: - api/apiclient.go - api/client/charms/downloader_s3.go - api/client/charms/localcharmclient_test.go - api/client/charms/mocks/objectstore_mock.go - api/client/charms/package_test.go - apiserver/admin.go - apiserver/apiserver.go - apiserver/facades/client/charms/client_integration_test.go - apiserver/objects_test.go - apiserver/root.go - cmd/containeragent/unit/manifolds.go - cmd/juju/application/deploy.go - cmd/juju/application/deploy_test.go - cmd/juju/application/refresh_test.go - cmd/jujud/agent/caasoperator/manifolds.go - core/cache/resident.go - core/logger/labels.go - internal/migration/migration.go - internal/s3client/client.go - internal/worker/deployer/unit_manifolds.go - internal/worker/s3caller/client.go - internal/worker/s3caller/manifold.go - internal/worker/s3caller/worker.go - internal/worker/uniter/manifold.go - worker/s3caller/client.go _Mostly_ trivial merge conflicts. The only difficulty was surrounding `objectstore.Session`, `s3cleint.Session` and `s3Client.Charm`. I believe I have found the best solution, however. One for @SimonRichardson to look at probably
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A ci test run showed a race in the
core/cache
tests. This fixes that.Also, to help diagnose intermittent migration ci test failures, turn on debug logging for the models.
And fix some issues with the ci test infrastructure to ensure the
add_model
helper is used rather than the rawadd-model
. This ensures that we record the debug log.QA steps
unit tests
Jira card: JUJU-5217