-
Notifications
You must be signed in to change notification settings - Fork 82
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
Race in TestServerRegisterPeer
#2973
Labels
Milestone
Comments
On Ubuntu (go 1.18), firstly discovered during #2969 test runs. |
AliceInHunterland
added a commit
that referenced
this issue
Feb 8, 2024
To prevent writing to logs after the end of the test execution concurrent registration and handshakes put to separate goroutines. To prevent "closed twice" used shutdownOnce to ensure that the shutdown procedure is executed only once. Close #2973 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 9, 2024
To prevent writing to logs after the end of the test execution concurrent registration and handshakes put to separate goroutines. Close #2973 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 13, 2024
To prevent logs after the test ends we need to properly shutdown the server. The problem is likely related to the fact that zap logger writes logs after the test ends. Close #2973 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 13, 2024
To prevent logs after the test ends we need to properly shutdown the server. The problem is likely related to the fact that zap logger writes logs after the test ends. Close #2973 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 13, 2024
To prevent logs after the test ends we need to properly shutdown the server. The problem is likely related to the fact that zap logger writes logs after the test ends. Close #2973 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 14, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Close #3217 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 14, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Close #3217 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 14, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Close #3217 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 14, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Close #3217 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 14, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Close #3217 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 15, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 15, 2024
Added sync logs for every service separately to provide the ability to have a custom logger for each service. Data race in logging is fixed by adding a sync log, this problem is related to uber-go/zap#687. Close #2973 Close #2974 Close #3112 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 18, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 18, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 18, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 18, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 20, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 20, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 20, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 20, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 21, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 21, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 21, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 21, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 21, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 22, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 22, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
AliceInHunterland
added a commit
that referenced
this issue
Feb 27, 2024
s.Shutdown() does not wait for all goroutines of the node server to finish normally just because the server exits without dependent goroutines awaiting. Which causes logs to attempt to write after the test has ended. The consequence of this bug fix is that corresponding tests are fixed. Close #2973 Close #2974 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: