diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 780cfcbec1..043a8177e4 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -208,6 +208,8 @@ func PingGameServer(msg, address string) (reply string, err error) { return "", errors.Wrapf(err, "Could not write message %s", msg) } b := make([]byte, 1024) + + conn.SetReadDeadline(time.Now().Add(30 * time.Second)) n, err := conn.Read(b) if err != nil { return "", err