Summary
The following formatter tests were temporarily disabled as they are currently failing due to network/remote URL dependency issues:
Disabled Tests
-
RemoteConfigurationTest#test[0](main.bal, configurations/remote)
- File:
misc/formatter/modules/formatter-core/src/test/java/org/ballerinalang/formatter/core/configurations/RemoteConfigurationTest.java
-
FormatFileResolutionTest#resolutionOfRemoteFormatFileTest
-
FormatFileResolutionTest#cacheWithTargetDirectoryPresent
-
FormatFileResolutionTest#failureToCreateFormatCacheFolderTest
-
FormatFileResolutionTest#failureToWriteCacheFileTest
- File:
misc/formatter/modules/formatter-core/src/test/java/org/ballerinalang/formatter/core/configurations/FormatFileResolutionTest.java
Root Cause
These tests depend on a remote GitHub Gist URL:
https://gist.githubusercontent.com/ballerina-bot/ae54cc7303e9d474d730d732c1594c61/raw/.../format.toml
They fail when this URL is unreachable or returns an unexpected response.
Action Required
- Investigate the remote URL availability / stability
- Consider mocking the HTTP call or hosting the file in a more stable location
- Re-enable all 5 tests once the fix is in place
Affected Branches
2201.12.x
master
2201.13.x
Summary
The following formatter tests were temporarily disabled as they are currently failing due to network/remote URL dependency issues:
Disabled Tests
RemoteConfigurationTest#test[0](main.bal, configurations/remote)misc/formatter/modules/formatter-core/src/test/java/org/ballerinalang/formatter/core/configurations/RemoteConfigurationTest.javaFormatFileResolutionTest#resolutionOfRemoteFormatFileTestFormatFileResolutionTest#cacheWithTargetDirectoryPresentFormatFileResolutionTest#failureToCreateFormatCacheFolderTestFormatFileResolutionTest#failureToWriteCacheFileTestmisc/formatter/modules/formatter-core/src/test/java/org/ballerinalang/formatter/core/configurations/FormatFileResolutionTest.javaRoot Cause
These tests depend on a remote GitHub Gist URL:
https://gist.githubusercontent.com/ballerina-bot/ae54cc7303e9d474d730d732c1594c61/raw/.../format.tomlThey fail when this URL is unreachable or returns an unexpected response.
Action Required
Affected Branches
2201.12.xmaster2201.13.x