Skip to content

Reproduce Consent Sync Error #1772

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nplasterer
Copy link
Contributor

WIP

Copy link

macroscopeapp bot commented Mar 20, 2025

Add MLS Consent Sync Test

Added test_sync_consent function to test consent state synchronization between multiple clients in MLS bindings. Removed version specification from Docker Compose file.

📍Where to Start

The test_sync_consent function in mls.rs


Macroscope summarized b2803ad.

@codabrink codabrink force-pushed the np/reproduce-consent-sync-issues branch from f316c18 to b2803ad Compare March 20, 2025 14:32
.await
.unwrap();

tokio::time::sleep(Duration::from_secs(2)).await;
Copy link
Contributor

@codabrink codabrink Mar 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed up a fix. All it needed was a couple of sleeps to allow for the workers to finish. The first sleep is to allow the first client to see the message and process the request. The second sleep is for the second client to see the response and process it after it syncs.

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