Skip to content

Support running bwc upgrade tests with versions temporarily set to tarball/branch#409

Merged
mfussenegger merged 2 commits intomasterfrom
j/versioned-table
Apr 14, 2026
Merged

Support running bwc upgrade tests with versions temporarily set to tarball/branch#409
mfussenegger merged 2 commits intomasterfrom
j/versioned-table

Conversation

@mfussenegger
Copy link
Copy Markdown
Member

Changes the create table versioned.t{version} statement to create table versioned.t{idx}

This avoids table name validation errors if setting the VersionDef
version to a tarball path to validate a fix.

…rball/branch

Changes the `create table versioned.t{version}` statement to `create
table versioned.t{idx}`

This avoids table name validation errors if setting the `VersionDef`
version to a tarball path to validate a fix.
yield versions


def path_repr(path: VersionDef) -> str:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was unused

self.assert_data_persistence(idx, version_def, nodes, digest, paths, accumulated_dynamic_column_names)

# restart with latest version
version_def = versions[-1]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In python the loop variables remain in scope with the values from the last iteration.

@BaurzhanSakhariev
Copy link
Copy Markdown
Contributor

Tests are failing because they were run before the revert of an offending commit?

@mfussenegger
Copy link
Copy Markdown
Member Author

retest this please

@mfussenegger
Copy link
Copy Markdown
Member Author

Tests are failing because they were run before the revert of an offending commit?

It's due to latest-nightly as the last version used. Won't pass until we have a new one.

@mfussenegger
Copy link
Copy Markdown
Member Author

retest this please

@mfussenegger mfussenegger merged commit d7f0177 into master Apr 14, 2026
1 check passed
@mfussenegger mfussenegger deleted the j/versioned-table branch April 14, 2026 13:20
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.

2 participants