diff --git a/component/topsql/topsql_test.go b/component/topsql/topsql_test.go index 36bc1da..13e782b 100644 --- a/component/topsql/topsql_test.go +++ b/component/topsql/topsql_test.go @@ -2,6 +2,7 @@ package topsql_test import ( "encoding/hex" + "fmt" "io/ioutil" "os" "sort" @@ -604,6 +605,8 @@ func (s *testTopSQLSuite) TestTiKVSummaryBy() { resList = append(resList, tid) } s.Equal(sortListSeq, resList) + fmt.Println(res) + s.Empty(res) res = res[:0] err = s.dq.SummaryBy(int(testBaseTs), int(testBaseTs+40), 10, 5, instance, tikvInstanceType, query.AggLevelDB, &res) s.NoError(err)