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 race condition in homechain test #5

Merged
merged 6 commits into from
Jun 28, 2024

Conversation

asoliman92
Copy link
Contributor

@asoliman92 asoliman92 commented Jun 27, 2024

Fix race condition in homechain test

Co-authored-by: winder [email protected]

Add .gitignore
Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

Close can be simplified now.

internal/reader/home_chain.go Outdated Show resolved Hide resolved
internal/reader/home_chain.go Outdated Show resolved Hide resolved
Copy link
Contributor

@dimkouv dimkouv left a comment

Choose a reason for hiding this comment

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

let's add .gitignore in a separate pr

@asoliman92 asoliman92 requested a review from winder June 28, 2024 12:46
@@ -77,12 +79,14 @@ func (r *homeChainPoller) Start(ctx context.Context) error {
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you move the initial fetchAndSetConfigs into poll()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, I moved it yesterday and overwrote it with your changes 😅

@asoliman92 asoliman92 requested a review from winder June 28, 2024 14:00
@asoliman92 asoliman92 merged commit ea3518d into ccip-develop Jun 28, 2024
1 check passed
@mateusz-sekara mateusz-sekara deleted the fix/race_home_chain_test branch November 8, 2024 09:17
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.

4 participants