Skip to content

fix(test): TestCreateTable existence check failure#1105

Merged
zeroshade merged 2 commits into
apache:mainfrom
laskoviymishka:fix/rest-integration-test-table-name
May 21, 2026
Merged

fix(test): TestCreateTable existence check failure#1105
zeroshade merged 2 commits into
apache:mainfrom
laskoviymishka:fix/rest-integration-test-table-name

Conversation

@laskoviymishka
Copy link
Copy Markdown
Contributor

PR #355 renamed the table created in TestCreateTable from "test-table" to "test-create-table" but left the follow-up CheckTableExists and DropTable calls pointing at the old name. CheckTableExists returns false, s.True(exists) fails, the actual table is never dropped, and the orphan in the namespace cascades into failures for every other suite test via ensureNamespace.

…amed table

PR apache#355 renamed the table created in TestCreateTable from "test-table" to
"test-create-table" but left the follow-up CheckTableExists and DropTable
calls pointing at the old name. CheckTableExists returns false, s.True(exists)
fails, the actual table is never dropped, and the orphan in the namespace
cascades into failures for every other suite test via ensureNamespace.
@laskoviymishka laskoviymishka marked this pull request as ready for review May 20, 2026 20:24
@laskoviymishka laskoviymishka requested a review from zeroshade as a code owner May 20, 2026 20:24
@nssalian
Copy link
Copy Markdown
Contributor

Thanks @laskoviymishka. lgtm pending integration tests passing here

PR apache#355 set expectedLocation to ".../test-write-commit-table" but the table
is still created as "test-table-2", so s.Equal(expectedLocation, tbl.Location())
fails. Align the table name with the descriptive expectedLocation, which is
what the rest of the refactor was doing.
@laskoviymishka laskoviymishka changed the title fix(test): align TestCreateTable existence check fix(test): TestCreateTable existence check failure May 21, 2026
@zeroshade zeroshade merged commit 47ea028 into apache:main May 21, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants