Skip to content

Commit

Permalink
GH-42005: [Java][Integration][CI] Fix ARROW_BUILD_ROOT Path to �find …
Browse files Browse the repository at this point in the history
…pom.xml (#42008)

### Rationale for this change

This PR aims to fix the issue where the integration tests are failing due to the missing `/java/pom.xml` file. It appears that the current code incorrectly determines the path to `ARROW_BUILD_ROOT`, leading to the failure in locating the `pom.xml` file.

### What changes are included in this PR?

- Updating the `ARROW_BUILD_ROOT` path determination logic in `tester_java.py` to correctly reference the project root.

### Are these changes tested?

Maybe, Yes.

### Are there any user-facing changes?

No.

* GitHub Issue: #42005

Authored-by: Hyunseok Seo <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
llama90 authored Jun 7, 2024
1 parent 164be48 commit 41ae29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/archery/archery/integration/tester_java.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

ARROW_BUILD_ROOT = os.environ.get(
'ARROW_BUILD_ROOT',
Path(__file__).resolve().parents[5]
Path(__file__).resolve().parents[4]
)


Expand Down
2 changes: 1 addition & 1 deletion dev/archery/archery/integration/tester_js.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

ARROW_BUILD_ROOT = os.environ.get(
'ARROW_BUILD_ROOT',
Path(__file__).resolve().parents[5]
Path(__file__).resolve().parents[4]
)
ARROW_JS_ROOT = os.path.join(ARROW_BUILD_ROOT, 'js')
_EXE_PATH = os.path.join(ARROW_JS_ROOT, 'bin')
Expand Down

0 comments on commit 41ae29e

Please sign in to comment.