Skip to content

exclude m2m tests in pr checks#876

Merged
shivam2680 merged 3 commits into
databricks:mainfrom
shivam2680:shivam2680/disable-m2m-tests
Jul 2, 2025
Merged

exclude m2m tests in pr checks#876
shivam2680 merged 3 commits into
databricks:mainfrom
shivam2680:shivam2680/disable-m2m-tests

Conversation

@shivam2680

@shivam2680 shivam2680 commented Jul 2, 2025

Copy link
Copy Markdown
Collaborator

Description

Excluding m2m tests from workflows
This is to remove dependency of m2m tests on secrets.

These tests are calling sdk for token refresh which is failing with error
Failed to refresh credentials: invalid_client. Config: host=http://localhost:55583/, client_id=85e9d70d-52da-42c5-a1d5-ebac64e758d0, client_secret=***, auth_type=oauth-m2m

Disabling these tests for now until @jayantsing-db and I figure out how do we fix this.

Testing

Additional Notes to the Reviewer

NO_CHANGELOG=true

@github-actions

github-actions Bot commented Jul 2, 2025

Copy link
Copy Markdown

📊 Code Coverage Report

Overall Project 86.18% 🟢

There is no coverage information present for the Files changed

@samikshya-db

samikshya-db commented Jul 2, 2025

Copy link
Copy Markdown
Collaborator

On the mainline all tests passes, we won't required this now https://github.com/databricks/databricks-jdbc

Edit : we only need to disable on PR not mainline

matrix:
include:
- test-command: mvn -B compile test -Dtest=*IntegrationTests
- test-command: mvn -B compile test -Dtest=*IntegrationTests,!M2MPrivateKeyCredentialsIntegrationTests,!M2MAuthIntegrationTests

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we have a tracking ticket to track how to run this?

@shivam2680 shivam2680 merged commit 538182a into databricks:main Jul 2, 2025
10 of 13 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