Skip to content
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

Cherry pick PR #896: Add blocking toggle to SetPersistentSettings. #951

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

"Refer to the original PR: #896"

Add blocking toggle to SetPersistentSettings to wait for
CommitPendingWrite() to complete. Greatly improves reliability and
accuracy of persistent_settings_test especially now that sleep can be
removed. Added blocking toggle to RemovePersistentSettings as well.

Replaces ASSERT with EXPECT when inside of closures that depend on
test_done.Signal() to avoid deadlocking.

b/280430510
b/283529011

(cherry picked from commit e024a33)
@briantting briantting merged commit 3eeba6d into 23.lts.1+ Jul 17, 2023
@briantting briantting deleted the 23.lts.1+-896 branch July 17, 2023 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants