Skip to content

Conversation

@jackyhu-db
Copy link
Contributor

PR Description

Motivation

The tests under csharp/test/Drivers/Databricks include both unit test and E2E test, and E2E test depends on the connection setup with Databricks and cannot (currently) be run by the CI/voter, but unit test does not have this dependency and should be run by the CI to detect code regression early. So we should restructure the tests into sub-folder Unit and E2E.

Changes

  • Restructure the tests under csharp/test/Drivers/Databricks into Unit and E2E folder
  • Use namespace Apache.Arrow.Adbc.Tests.Drivers.Databricks.Unit as the root namespace for all the Databricks unit test
  • Update ci/scripts/csharp_test.sh to include Databricks unit test so that it can be run by the CI

Testing

  • Run ci/scripts/csharp_test.sh
  • Run both E2E test and unit test under csharp/test/Drivers/Databricks

@github-actions github-actions bot modified the milestone: ADBC Libraries 20 Jul 3, 2025
@jackyhu-db jackyhu-db force-pushed the databricks-test-restructure branch from 1f47f24 to eeb0f1b Compare July 3, 2025 16:31
@jackyhu-db jackyhu-db force-pushed the databricks-test-restructure branch from eeb0f1b to 0437204 Compare July 3, 2025 16:38
Copy link
Contributor

@alexguo-db alexguo-db left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for cleaning this up

Copy link
Contributor

@CurtHagenlocher CurtHagenlocher left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! but I you'll need to resolve the merge conflict (probably by rebasing).

@CurtHagenlocher CurtHagenlocher merged commit 8fa2a22 into apache:main Jul 3, 2025
68 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.

3 participants