diff --git a/go/test/endtoend/utils/mysql.go b/go/test/endtoend/utils/mysql.go index b8ac2b9680c..bae8bcac042 100644 --- a/go/test/endtoend/utils/mysql.go +++ b/go/test/endtoend/utils/mysql.go @@ -136,11 +136,11 @@ func compareVitessAndMySQLResults(t TestingT, query string, vtQr, mysqlQr *sqlty return } if vtQr == nil { - t.Error("Vitess result is 'nil' while MySQL's is not.") + t.Errorf("Vitess result is 'nil' while MySQL's is not.") return } if mysqlQr == nil { - t.Error("MySQL result is 'nil' while Vitess' is not.") + t.Errorf("MySQL result is 'nil' while Vitess' is not.") return } if compareColumns { @@ -162,7 +162,7 @@ func compareVitessAndMySQLResults(t TestingT, query string, vtQr, mysqlQr *sqlty } stmt, err := sqlparser.Parse(query) if err != nil { - t.Error(err) + t.Errorf(err.Error()) return } orderBy := false