Skip to content

Commit a75e43d

Browse files
committed
fixup! Move topN pushdown test into BaseConnectorTest
1 parent 310caff commit a75e43d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/BaseJdbcConnectorTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -971,14 +971,10 @@ public void testTopNPushdownDisabled()
971971
}
972972

973973
@Test
974-
@Override
975-
public void testTopNPushdown()
974+
void testTopNPushdownWithJoin()
976975
{
977-
super.testTopNPushdown();
978-
979-
if (!hasBehavior(SUPPORTS_TOPN_PUSHDOWN)) {
980-
return;
981-
}
976+
// covered by testTopNPushdown
977+
skipTestUnless(hasBehavior(SUPPORTS_TOPN_PUSHDOWN));
982978

983979
// TopN over LEFT join (enforces SINGLE TopN cannot be pushed below OUTER side of join)
984980
// We expect PARTIAL TopN on the LEFT side of join to be pushed down.

0 commit comments

Comments
 (0)