The GitHub Actions job "Java CI" on commons-vfs.git/feature/junit5-migration has failed. Run started by GitHub user gnodet (triggered by gnodet).
Head commit for run: 93a0ef815dbfde6219cb8ea6eeead36f577d340d / Guillaume Nodet <[email protected]> Fix NullPointerException in tests with null base folder Fixed issue where tests that don't require a base folder (like IPv6 URL resolution tests) were failing with NullPointerException during setUp() or when running test methods. Changes: - Modified AbstractProviderTestSuite.setUp() to handle null baseFolder - Only attempt to resolve read/write folders if baseFolder is not null - Modified AbstractProviderTestSuite.providerTests() to return empty stream when no test classes are added and baseFolder is null - Updated test classes to only add base tests when a real server is configured via system property - Added Assumptions.assumeTrue() to @Test methods that require a real server This fixes the following test failures: - FtpProviderIPv6Test - SftpProviderIPv6Test - SftpPutChannelTest - SftpPermissionExceptionTest - SftpProviderClosedExecChannelTest - SftpProviderStreamProxyModeTest These tests use mocked providers for URL resolution testing or have their own @Test methods that don't need the full provider test suite. When no system property is set, they skip base tests and only run their own @Test methods (or skip them if they require a server). Report URL: https://github.com/apache/commons-vfs/actions/runs/18337316784 With regards, GitHub Actions via GitBox
