Lokesh Khurana created PHOENIX-7970:
---------------------------------------
Summary: QueryDatabaseMetaDataIT.testShowTables fails after
SYSTEM.HA_GROUP is added to the SYSTEM schem
Key: PHOENIX-7970
URL: https://issues.apache.org/jira/browse/PHOENIX-7970
Project: Phoenix
Issue Type: Sub-task
Reporter: Lokesh Khurana
Assignee: Lokesh Khurana
"SHOW TABLES IN SYSTEM". The PHOENIX-7562 consistent-failover work adds a new
system
table, SYSTEM.HA_GROUP, to the SYSTEM schema, so the SYSTEM schema now
contains 13
tables instead of 12. The test still hard-codes the previous count of 12 and
does not
account for the new HA_GROUP table, so it fails on the feature branch:
expected:<12> but was:<13>
Fix (test-only):
* Update the expected table count from 12 to 13.
* Add an assertion that the returned set contains "HA_GROUP", so the test
explicitly
documents that SYSTEM.HA_GROUP is expected in the SYSTEM schema.
The existing "SHOW TABLES IN SYSTEM LIKE 'FUNC%'" assertion (count 1,
contains FUNCTION)
is unaffected and unchanged.
No production code is changed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)