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

refactor(registrysyncer): tests clean up #14968

Closed
wants to merge 1 commit into from
Closed

Conversation

MStreet3
Copy link
Contributor

minor cleanup changes to registrysyncer tests

Requires

Resolves

@MStreet3 MStreet3 requested a review from a team as a code owner October 25, 2024 23:08
@cl-sonarqube-production
Copy link

Copy link
Contributor

AER Report: CI Core

aer_workflow , commit , Detect Changes , Clean Go Tidy & Generate , lint , Core Tests (go_core_tests) , Core Tests (go_core_ccip_deployment_tests) , Core Tests (go_core_race_tests) , Core Tests (go_core_fuzz) , SonarQube Scan , Flakey Test Detection

1. Race condition detected:[Run tests]

Source of Error:
Run tests	2024-10-25T23:18:03.0841328Z + echo 'Race(s) detected'
Run tests	2024-10-25T23:18:03.0841856Z Race(s) detected
Run tests	2024-10-25T23:18:03.0847933Z + exit 1
Run tests	2024-10-25T23:18:03.0861740Z ##[error]Process completed with exit code 1.

Why: The error indicates that a race condition was detected during the execution of the Go tests. Race conditions occur when multiple threads or processes access shared data concurrently, and at least one of them modifies it, leading to unpredictable behavior.

Suggested fix: Use Go's race detector to identify and fix the race conditions in the code. Ensure proper synchronization mechanisms like mutexes or channels are used to manage concurrent access to shared resources.

@MStreet3 MStreet3 closed this Nov 20, 2024
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.

1 participant