Skip to content

Conversation

@IdrissRio
Copy link
Contributor

@IdrissRio IdrissRio commented Oct 7, 2025

The buildless-dependency-different-repository test was timing out when trying to fetch Maven dependencies from local HTTP servers. Turns out Python's http.server on newer macOS versions binds only to IPv6 by default, but Maven tries to connect via IPv4.

Added -b localhost to the server commands to make them listen on both IPv4 and IPv6, just like we already do in the buildless-snapshot-repository test.

@github-actions github-actions bot added the Java label Oct 7, 2025
@IdrissRio IdrissRio marked this pull request as ready for review October 7, 2025 09:10
@IdrissRio IdrissRio requested a review from a team as a code owner October 7, 2025 09:10
Copilot AI review requested due to automatic review settings October 7, 2025 09:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a test timeout issue on macOS by ensuring HTTP servers bind to both IPv4 and IPv6 interfaces. The buildless-dependency-different-repository test was failing because Python's http.server on newer macOS versions defaults to IPv6-only binding, while Maven attempts IPv4 connections.

  • Added -b localhost flag to both HTTP server commands to enable dual-stack binding

@IdrissRio IdrissRio merged commit c809cce into main Oct 7, 2025
13 checks passed
@IdrissRio IdrissRio deleted the idrissrio/macos-26 branch October 7, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants