Karm / mandrel-integration-tests

Integration tests for GraalVM and its Mandrel distribution. Runs Quarkus, Helidon and Micronaut applications and small targeted reproducers. The focus is solely on native-image utility and compilation of Java applications into native executables.
Apache License 2.0
5 stars 3 forks source link

Tests how native-image handles resources lookup #87

Closed Karm closed 2 years ago

Karm commented 2 years ago

Tests resources lookup behaviour, URL trailing slash trimming etc.

Karm commented 2 years ago

@Karm Fix Windows CR LF

Karm commented 2 years ago

This is how it looks like when it fails:

[ERROR] Failures: 
[ERROR]   AppReproducersTest.resLocationsB:250->resLocations:340 Something changed in how the resources are handled. Check comments on https://github.com/oracle/graal/issues/4326 and https://github.com/quarkusio/quarkus/pull/22403. See discrepancies: 
Expected: 6:  NO_SLASH FOLDER, Actual: 6:  N/A
Expected: 7:  NO_SLASH FOLDER, Actual: 7:  N/A
Expected: 5:  NO_SLASH FOLDER, Actual: 5:  SLASH FOLDER
 ==> expected: <true> but was: <false>
[INFO] 
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 1
Karm commented 2 years ago

@zakkak Those failures are expected, JDK 17 + record annotations + Mandrel 22 and JDK 17 + GDB

Karm commented 2 years ago

Thx @zakkak, changes included, merging....