Skip to content

Commit

Permalink
Remove no longer necessary resource locks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Nov 28, 2024
1 parent 6e43e27 commit 45930ab
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.api.parallel.ResourceLock;

import platform.tooling.support.process.ProcessStarters;

Expand All @@ -31,7 +30,6 @@
*/
class AntStarterTests {

@ResourceLock(Projects.ANT_STARTER)
@Test
@Timeout(60)
void ant_starter(@TempDir Path workspace) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.extension.DisabledOnOpenJ9;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.api.parallel.ResourceLock;

import platform.tooling.support.MavenRepo;
import platform.tooling.support.process.ProcessStarters;
Expand All @@ -36,7 +35,6 @@
@EnabledIfEnvironmentVariable(named = "GRAALVM_HOME", matches = ".+")
class GraalVmStarterTests {

@ResourceLock(Projects.GRAALVM_STARTER)
@Test
@Timeout(value = 10, unit = MINUTES)
void runsTestsInNativeImage(@TempDir Path workspace) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.api.parallel.ResourceLock;
import org.opentest4j.TestAbortedException;

import platform.tooling.support.Helper;
Expand All @@ -30,7 +29,6 @@
*/
class GradleKotlinExtensionsTests {

@ResourceLock(Projects.GRADLE_KOTLIN_EXTENSIONS)
@Test
void gradle_wrapper(@TempDir Path workspace) throws Exception {
var result = ProcessStarters.gradlew() //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.api.parallel.ResourceLock;
import org.junit.platform.reporting.testutil.FileUtils;
import org.opentest4j.TestAbortedException;

Expand All @@ -31,7 +30,6 @@
*/
class GradleMissingEngineTests {

@ResourceLock(Projects.GRADLE_MISSING_ENGINE)
@Test
void gradle_wrapper(@TempDir Path workspace) throws Exception {
var result = ProcessStarters.gradlew() //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.api.parallel.ResourceLock;
import org.opentest4j.TestAbortedException;

import platform.tooling.support.Helper;
Expand All @@ -32,7 +31,6 @@
*/
class GradleStarterTests {

@ResourceLock(Projects.GRADLE_STARTER)
@Test
void gradle_wrapper(@TempDir Path workspace) throws Exception {
var result = ProcessStarters.gradlew() //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.api.parallel.ResourceLock;
import org.opentest4j.TestAbortedException;

import platform.tooling.support.Helper;
Expand All @@ -38,7 +37,6 @@ class MavenStarterTests {
@GlobalResource
MavenRepoProxy mavenRepoProxy;

@ResourceLock(Projects.MAVEN_STARTER)
@Test
void verifyMavenStarterProject(@TempDir Path workspace) throws Exception {
var result = ProcessStarters.maven() //
Expand Down

0 comments on commit 45930ab

Please sign in to comment.