Commit 02b9fcd3 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

integration: Fix test failure with go1.7.1

parent 231d739b
......@@ -160,8 +160,9 @@ func TestH1H1GracefulShutdown(t *testing.T) {
}
want := io.EOF
if _, err := st.conn.Read(nil); err == nil || err != want {
t.Errorf("st.conn.Read(): %v; want %v", err, want)
b := make([]byte, 256)
if _, err := st.conn.Read(b); err == nil || err != want {
t.Errorf("st.conn.Read(): %v; want %v, %v", err, want)
}
}
......
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