commit | 42b546ad16bd225db50d259f429897d456ccb606 | [log] [tgz] |
---|---|---|
author | Gianfranco Valentino <gevalentino@google.com> | Wed Jun 26 00:56:25 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jun 26 00:56:25 2019 +0000 |
tree | c7adc1c496532ae7d637c9f3c6fd0e95857f15e1 | |
parent | ce1c219c89b3d885d0a4ca809cd6fe4754c6aa1d [diff] |
[zircon][core-test]: Fix flaky ChannelInternalTest There is a race condition in a channel call when the channel is written to and the thread state is set to blocked. Instead of just asserting for the thread state, we wait for the channel to become readable, and then wait for the thread state to be updated. Essentially the expectation the thread is blocked switches to the thread will eventually become blocked when issuing a channel_call. ZX-4422 #done TEST=channel-test Change-Id: Iffa110f67a63cc6ba450631ceafa7430aa44f885
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.