Skip to content

Commit 6e8a606

Browse files
authored
Merge pull request #82 from jonesbusy/feature/disable-test-without-docker
Disable tests without docker
2 parents fc285d2 + 5deb6b3 commit 6e8a606

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/org/jenkinsci/plugins/database/mysql/MySQLDatabaseTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import hudson.util.Secret;
88
import java.io.IOException;
99
import org.jenkinsci.plugins.database.GlobalDatabaseConfiguration;
10-
import org.jenkinsci.plugins.database.mysql.MySQLDatabase;
1110
import org.junit.jupiter.api.Test;
1211
import org.jvnet.hudson.test.JenkinsRule;
1312
import org.jvnet.hudson.test.junit.jupiter.WithJenkins;
@@ -16,7 +15,7 @@
1615
import org.testcontainers.junit.jupiter.Testcontainers;
1716

1817
@WithJenkins
19-
@Testcontainers
18+
@Testcontainers(disabledWithoutDocker = true)
2019
public class MySQLDatabaseTest {
2120

2221
public static final String TEST_IMAGE = "mysql:8.2.0";

0 commit comments

Comments
 (0)