Commit 4a58c98e authored by Alex Browne's avatar Alex Browne Committed by Steven Allen

Expand comment about time.Sleep hack

parent c413b3db
......@@ -51,6 +51,9 @@ func TestInBrowser(t *testing.T) {
}
// TODO(albrow): This hack is necessary in order to give the reader time to
// finish. We should find some way to remove it.
// finish. As soon as this test function returns, the browser window is
// closed, which means there is no time for the other end of the connection to
// read the "pong" message. We should find some way to remove this hack if
// possible.
time.Sleep(1 * time.Second)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment