Skip to content

Commit

Permalink
[test](Nereids): add assert debug log for TopnToMaxTest (apache#28755)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwener authored and stephen committed Dec 28, 2023
1 parent 0eb2f52 commit ad9a2a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ suite("test_topn_to_max") {
from test_topn_to_max
group by k1;
'''
assertTrue(res.toString().contains("max"))
assertTrue(res.toString().contains("max"), res.toString() + " should contain max")

order_qt_sql '''
select topn(k2, 1)
Expand All @@ -45,5 +45,5 @@ suite("test_topn_to_max") {
explain rewritten plan select topn(k2, 1)
from test_topn_to_max;
'''
assertTrue(res.toString().contains("max"))
assertTrue(res.toString().contains("max"), res.toString() + " should contain max")
}

0 comments on commit ad9a2a1

Please sign in to comment.