Skip to content

Commit 0f32d1d

Browse files
authored
Merge pull request eugenp#11515 from eugenp/test-fix-nov-2021
disable tests until they are fixed
2 parents dfbcf0d + b11a9bf commit 0f32d1d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

core-java-modules/core-java-11-2/src/test/java/com/baeldung/version/VersionUnitTest.java renamed to core-java-modules/core-java-11-2/src/test/java/com/baeldung/version/VersionManualTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import org.junit.jupiter.api.Disabled;
66
import org.junit.jupiter.api.Test;
77

8-
public class VersionUnitTest {
8+
// manual test as the runtime JDK version can be different depending on where the test is run
9+
public class VersionManualTest {
910

1011
@Test
1112
public void givenJava_whenUsingRuntime_thenGetVersion() {

core-java-modules/core-java-9-jigsaw/src/test/java/com/baeldung/java9/modules/ModuleAPIUnitTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import org.junit.Before;
1818
import org.junit.Test;
19+
import org.junit.Ignore;
1920

2021
public class ModuleAPIUnitTest {
2122

@@ -110,6 +111,7 @@ public void givenModules_whenAccessingModuleDescriptorRequires_thenRequiresAreRe
110111
}
111112

112113
@Test
114+
@Ignore // fixing in http://team.baeldung.com/browse/JAVA-8679
113115
public void givenModules_whenAccessingModuleDescriptorProvides_thenProvidesAreReturned() {
114116
Set<Provides> javaBaseProvides = javaBaseModule.getDescriptor().provides();
115117
Set<Provides> javaSqlProvides = javaSqlModule.getDescriptor().provides();

0 commit comments

Comments
 (0)