Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jul 23, 2019

Motivation:

When the tests are run with TSAN, it complained about
concurrent modification of states in the connectivity state
recording delegate.

Modifications:

Guard access to the recorded states via a lock.

Result:

TSAN doesn't complain when running the tests.

@MrMage
Copy link
Collaborator

MrMage commented Jul 23, 2019

Is the test failure a flake?

@MrMage MrMage closed this Jul 23, 2019
@MrMage MrMage reopened this Jul 23, 2019
@glbrntt
Copy link
Collaborator Author

glbrntt commented Jul 23, 2019

I think so, the ClientTimeoutTests have been pretty bad, especially on Linux recently. I'll look into this.

@glbrntt
Copy link
Collaborator Author

glbrntt commented Jul 23, 2019

@MrMage flake should be fixed in #524 (#522 and #523 failed for the same reason)

Motivation:

When the tests are run with TSAN, it complained about
concurrent modification of states in the connectivity state
recording delegate.

Modifications:

Guard access to the recorded states via a lock.

Result:

TSAN doesn't complain when running the tests.
@MrMage MrMage merged commit d556b36 into grpc:nio Jul 24, 2019
@glbrntt glbrntt deleted the make-tsan-happy branch August 5, 2020 09:06
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