Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3319] fix(PyClient): ./gradlew test -PskipITs failed in python-client #3322

Merged
merged 2 commits into from
May 11, 2024

Conversation

xunliu
Copy link
Member

@xunliu xunliu commented May 10, 2024

What changes were proposed in this pull request?

  1. Add skipITs build params in the Python Client Gradle script.
  2. Use different directory storage integration test and unit tests.

Why are the changes needed?

When running this command ./gradlew test -PskipITs directly. the Gradle python test task will be failed because of lacking compileDistribution step. we should fix it to make all the commands work.

Fix: #3319

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

CI Passed

@xunliu xunliu added the 0.5.1 Release v0.5.1 label May 10, 2024
@xunliu xunliu added this to the Gravitino June Release milestone May 10, 2024
@xunliu xunliu requested review from jerryshao and diqiu50 May 10, 2024 10:03
@xunliu xunliu self-assigned this May 10, 2024
from gravitino.dto.responses.metalake_response import MetalakeResponse


class TestMetalakeUT(unittest.TestCase):
Copy link
Contributor

@jerryshao jerryshao May 10, 2024

Choose a reason for hiding this comment

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

Since we already have two different folders for UT and IT, I think it is not necessary to add "UT" as a suffix, "TestMetalake" should be enough, WDYT? @xunliu

Copy link
Member Author

Choose a reason for hiding this comment

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

OK

@jerryshao jerryshao merged commit 224d6a5 into apache:main May 11, 2024
22 checks passed
github-actions bot pushed a commit that referenced this pull request May 11, 2024
…nt (#3322)

### What changes were proposed in this pull request?

1. Add `skipITs` build params in the Python Client Gradle script.
2. Use different directory storage integration test and unit tests.

### Why are the changes needed?

When running this command ./gradlew test -PskipITs directly. the Gradle
python test task will be failed because of lacking compileDistribution
step. we should fix it to make all the commands work.

Fix: #3319

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

CI Passed
diqiu50 pushed a commit to diqiu50/gravitino that referenced this pull request Jun 13, 2024
…n-client (apache#3322)

### What changes were proposed in this pull request?

1. Add `skipITs` build params in the Python Client Gradle script.
2. Use different directory storage integration test and unit tests.

### Why are the changes needed?

When running this command ./gradlew test -PskipITs directly. the Gradle
python test task will be failed because of lacking compileDistribution
step. we should fix it to make all the commands work.

Fix: apache#3319

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

CI Passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug report] ./gradlew test -PskipITs failed in python-client test
2 participants