File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
linker/src/test/java/io/helidon/build/linker Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2828import org .junit .jupiter .api .BeforeAll ;
2929import org .junit .jupiter .api .Order ;
3030import org .junit .jupiter .api .Tag ;
31+ import org .junit .jupiter .api .condition .DisabledOnOs ;
3132import org .junit .jupiter .api .condition .EnabledIfSystemProperty ;
33+ import org .junit .jupiter .api .condition .OS ;
3234import org .junit .jupiter .params .ParameterizedTest ;
3335
3436import static io .helidon .build .common .FileUtils .javaHome ;
@@ -59,13 +61,16 @@ static void setup() {
5961 @ Tag ("mp" )
6062 @ ParameterizedTest
6163 @ ConfigurationParameterSource ("basedir" )
64+ // ClassDataSharing uses relativize with jri location and mainJar.
65+ // relativize on Windows requires a shared root which is not true for this test.
66+ @ DisabledOnOs (OS .WINDOWS )
6267 void testQuickstartMp (String basedir ) throws Exception {
63- Path mainJar = Path .of (basedir ).resolve ("target" + File . separator + " quickstart-mp.jar" );
68+ Path mainJar = Path .of (basedir ).resolve ("target/ quickstart-mp.jar" );
6469 Path archiveFile = Files .createTempFile ("start" , "jsa" );
6570 String exitOnStarted = "!" ;
6671 ClassDataSharing cds = ClassDataSharing .builder ()
6772 .jri (JAVA_HOME )
68- .applicationJar (mainJar . toRealPath () )
73+ .applicationJar (mainJar )
6974 .createArchive (false )
7075 .logOutput (true )
7176 .exitOnStartedValue (exitOnStarted )
You can’t perform that action at this time.
0 commit comments