disable tests until they are fixed

This commit is contained in:
Loredana Crusoveanu 2021-11-26 10:40:22 +02:00
parent 91e38a4500
commit 02f34bab02
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,8 @@ import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
public class VersionUnitTest { // manual test as the runtime JDK version can be different depending on where the test is run
public class VersionManualTest {
@Test @Test
public void givenJava_whenUsingRuntime_thenGetVersion() { public void givenJava_whenUsingRuntime_thenGetVersion() {

View File

@ -16,6 +16,7 @@ import java.util.stream.Collectors;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.junit.Ignore;
public class ModuleAPIUnitTest { public class ModuleAPIUnitTest {
@ -110,6 +111,7 @@ public class ModuleAPIUnitTest {
} }
@Test @Test
@Ignore // fixing in http://team.baeldung.com/browse/JAVA-8679
public void givenModules_whenAccessingModuleDescriptorProvides_thenProvidesAreReturned() { public void givenModules_whenAccessingModuleDescriptorProvides_thenProvidesAreReturned() {
Set<Provides> javaBaseProvides = javaBaseModule.getDescriptor().provides(); Set<Provides> javaBaseProvides = javaBaseModule.getDescriptor().provides();
Set<Provides> javaSqlProvides = javaSqlModule.getDescriptor().provides(); Set<Provides> javaSqlProvides = javaSqlModule.getDescriptor().provides();