Skip to content

Commit 39d3fe9

Browse files
committed
Temporarily disable SQLServer docker-based integration tests
Related to #4828
1 parent 7f3630e commit 39d3fe9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/SQLServerJobRepositoryIntegrationTests.java

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

2020
import com.microsoft.sqlserver.jdbc.SQLServerDataSource;
2121
import org.junit.jupiter.api.BeforeEach;
22+
import org.junit.jupiter.api.Disabled;
2223
import org.junit.jupiter.api.Test;
2324
import org.springframework.batch.core.configuration.annotation.EnableJdbcJobRepository;
2425
import org.testcontainers.containers.MSSQLServerContainer;
@@ -55,6 +56,7 @@
5556
*/
5657
@Testcontainers(disabledWithoutDocker = true)
5758
@SpringJUnitConfig
59+
@Disabled("https://github.com/spring-projects/spring-batch/issues/4828")
5860
class SQLServerJobRepositoryIntegrationTests {
5961

6062
// TODO find the best way to externalize and manage image versions

spring-batch-infrastructure/src/test/java/org/springframework/batch/item/database/support/SqlServerPagingQueryProviderIntegrationTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 the original author or authors.
2+
* Copyright 2024-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,6 +23,8 @@
2323
import org.springframework.context.annotation.Configuration;
2424
import org.springframework.test.context.jdbc.Sql;
2525
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
26+
27+
import org.junit.jupiter.api.Disabled;
2628
import org.testcontainers.containers.MSSQLServerContainer;
2729
import org.testcontainers.junit.jupiter.Container;
2830
import org.testcontainers.junit.jupiter.Testcontainers;
@@ -36,6 +38,7 @@
3638
@Testcontainers(disabledWithoutDocker = true)
3739
@SpringJUnitConfig
3840
@Sql(scripts = "query-provider-fixture.sql", executionPhase = BEFORE_TEST_CLASS)
41+
@Disabled("https://github.com/spring-projects/spring-batch/issues/4828")
3942
class SqlServerPagingQueryProviderIntegrationTests extends AbstractPagingQueryProviderIntegrationTests {
4043

4144
// TODO find the best way to externalize and manage image versions

0 commit comments

Comments
 (0)