Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ab36a6

Browse files
committed
Fix python tests
1 parent 9d7980a commit 5ab36a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/python/partitioning_test.py

+6
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,12 @@ def test_update_node_plan1(self):
10221022
plan = con.execute('SELECT query_plan(\'%s\')' % test_query)[0][0]
10231023
plan = plan[0]["Plan"]
10241024

1025+
# PartitionOverseer
1026+
self.assertEqual(plan["Node Type"], "Custom Scan")
1027+
self.assertEqual(plan["Custom Plan Provider"], 'PartitionOverseer')
1028+
1029+
# ModifyTable
1030+
plan = plan["Plans"][0]
10251031
self.assertEqual(plan["Node Type"], "ModifyTable")
10261032
self.assertEqual(plan["Operation"], "Update")
10271033
self.assertEqual(plan["Relation Name"], "test_range")

0 commit comments

Comments
 (0)