mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-26 05:58:27 +00:00
Disable test on windows because all jar files are locked and the repository can't even be deleted
This commit is contained in:
@@ -18,6 +18,7 @@ package org.mvndaemon.mvnd.it;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Path;
|
||||
import javax.inject.Inject;
|
||||
import org.junit.jupiter.api.Assumptions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mvndaemon.mvnd.assertj.TestClientOutput;
|
||||
import org.mvndaemon.mvnd.client.Client;
|
||||
@@ -37,6 +38,9 @@ public class DeleteRepoNativeIT {
|
||||
|
||||
@Test
|
||||
void buildDeleteRepoAndRebuild() throws IOException, InterruptedException {
|
||||
Assumptions.assumeTrue(Os.current() != Os.WINDOWS,
|
||||
"Test disabled on windows because all jar files are locked, so we can't even delete the repository");
|
||||
|
||||
final Path localMavenRepo = parameters.mavenRepoLocal();
|
||||
TestUtils.deleteDir(localMavenRepo);
|
||||
|
||||
|
Reference in New Issue
Block a user