Skip to content

Fix Hive test table name collision#14883

Merged
sopel39 merged 1 commit intotrinodb:masterfrom
djsagain:david.stryker/fix-test-name-collision
Nov 3, 2022
Merged

Fix Hive test table name collision#14883
sopel39 merged 1 commit intotrinodb:masterfrom
djsagain:david.stryker/fix-test-name-collision

Conversation

@djsagain
Copy link
Copy Markdown
Member

@djsagain djsagain commented Nov 3, 2022

In TestHiveTransactionalTable both testAcidUpdateSelectedValues and testAcidUpdateSimple use the root test name test_update_simple, and withTemporaryTable did not add a random suffix, so the the two tests using that root name collided. This PR changes the table name used in the former test, and also changes withTemporaryTable to add a random table name suffix. Fixes #14519.

Description

Non-technical explanation

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

In TestHiveTransactionalTable both testAcidUpdateSelectedValues and
testAcidUpdateSimple use the root test name test_update_simple, and
withTemporaryTable did not add a random suffix, so the the two tests
using that root name collided.  This PR changes the table name used
in the former test, and also changes withTemporaryTable to add a
random table name suffix.
@sopel39 sopel39 merged commit 0a45a77 into trinodb:master Nov 3, 2022
@github-actions github-actions bot added this to the 403 milestone Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Update Hive ACID table seems sometime to corrupt the data

3 participants