Skip to content

Commit 83f829b

Browse files
committed
ignore docker tests on windows due to too slow performance
1 parent ae817df commit 83f829b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/test/groovy/ru/vyarus/gradle/plugin/python/docker/DockerAutoRestartKitTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import spock.lang.IgnoreIf
1010
* @since 04.10.2022
1111
*/
1212
// testcontainers doesn't work on windows server https://github.com/testcontainers/testcontainers-java/issues/2960
13-
@IgnoreIf({ env.containsKey('APPVEYOR') })
13+
@IgnoreIf({ System.getProperty("os.name").toLowerCase().contains("windows") })
1414
class DockerAutoRestartKitTest extends AbstractKitTest {
1515

1616
def "Check auto container restart due to changed working dir"() {

src/test/groovy/ru/vyarus/gradle/plugin/python/docker/DockerExclusiveExecutionKitTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import spock.lang.IgnoreIf
1010
* @since 04.10.2022
1111
*/
1212
// testcontainers doesn't work on windows server https://github.com/testcontainers/testcontainers-java/issues/2960
13-
@IgnoreIf({ env.containsKey('APPVEYOR') })
13+
@IgnoreIf({ System.getProperty("os.name").toLowerCase().contains("windows") })
1414
class DockerExclusiveExecutionKitTest extends AbstractKitTest {
1515

1616
def "Check exclusive execution"() {

src/test/groovy/ru/vyarus/gradle/plugin/python/docker/DockerMultiModuleKitTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import spock.lang.IgnoreIf
1010
* @since 07.10.2022
1111
*/
1212
// testcontainers doesn't work on windows server https://github.com/testcontainers/testcontainers-java/issues/2960
13-
@IgnoreIf({ env.containsKey('APPVEYOR') })
13+
@IgnoreIf({ System.getProperty("os.name").toLowerCase().contains("windows") })
1414
class DockerMultiModuleKitTest extends AbstractKitTest {
1515

1616
def "Check modules use different python"() {

src/test/groovy/ru/vyarus/gradle/plugin/python/docker/DockerRunKitTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import spock.lang.IgnoreIf
1111
* @since 21.09.2022
1212
*/
1313
// testcontainers doesn't work on windows server https://github.com/testcontainers/testcontainers-java/issues/2960
14-
@IgnoreIf({ env.containsKey('APPVEYOR') })
14+
@IgnoreIf({ System.getProperty("os.name").toLowerCase().contains("windows") })
1515
class DockerRunKitTest extends AbstractKitTest {
1616

1717
def "Check simple execution"() {

0 commit comments

Comments
 (0)