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

Fix Autopilot Config Race #236

Merged
merged 3 commits into from Mar 28, 2023
Merged

Fix Autopilot Config Race #236

merged 3 commits into from Mar 28, 2023

Conversation

peterjan
Copy link
Member

There's a race condition in TestMigrations apparently where the autopilot is updating its contracts before we set the config using the autopilot client. We don't want to provide the config in the constructor so to avoid the race condition we can simply set the config on the store before passing that in.

I added an extra check + warning in the autopilot to avoid the error regardless.

image

@ChrisSchinnerl ChrisSchinnerl merged commit 0edb1ee into master Mar 28, 2023
6 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/fix-ap-config branch March 28, 2023 11:59
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.

None yet

2 participants