commit | b5e358eab2eb8b2c034a0cfb7c2e69448070c97f | [log] [tgz] |
---|---|---|
author | Jungho Ahn <jhahn@google.com> | Tue May 12 20:20:33 2015 -0700 |
committer | Jungho Ahn <jhahn@google.com> | Tue May 12 20:21:27 2015 -0700 |
tree | 44808d2cc6a8395c4300817dd31e7dd5f6c251c3 | |
parent | 95082286ba36a6220297c0f986df8ad239057acf [diff] |
mocknet: fix a race in V23CloseAtMessage The current v23Conn calls the matcher only with the first message in the given buffer. It means v23conn can miss the target message if the buffer has more than one messages. This causes flaky test failures since net.Conn.Read() can returns as many as bytes it received and it may not be closed depending on its buffer. E.g., rpc.TestStartCallBadProtocol. Change-Id: I4b69ef9aa8eff70296d2b856167b5f39f5ed3149
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.