Skip to content

Skip tests without connecting/disconnecting - #131

Merged
justing-bq merged 1 commit into
apache-odbcfrom
skipTests
Oct 28, 2025
Merged

Skip tests without connecting/disconnecting#131
justing-bq merged 1 commit into
apache-odbcfrom
skipTests

Conversation

@justing-bq

@justing-bq justing-bq commented Oct 28, 2025

Copy link
Copy Markdown

Rationale for this change

Previously, skipped tests were only skipping the test body but still going through the full setup/teardown process. The connection attempt during Setup() was causing failures.

What changes are included in this PR?

Introduced a flag to indicate that the test should be skipped so it will exit Setup as soon as possible without attempting to connect first.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@justing-bq justing-bq closed this Oct 28, 2025
@justing-bq justing-bq reopened this Oct 28, 2025

@alinaliBQ alinaliBQ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm, will approve after CI pass

@justing-bq
justing-bq merged commit 78ef45d into apache-odbc Oct 28, 2025
19 of 21 checks passed
@justing-bq
justing-bq deleted the skipTests branch January 27, 2026 21:21
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