Skip to content

Commit 5f91f01

Browse files
authored
Disable integration tests (#1167)
See #1165
1 parent f9f4abf commit 5f91f01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+49
-50
lines changed

pom.xml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@
6363
<changelog-lib.version>1.59</changelog-lib.version>
6464
<bnd.version>5.3.0</bnd.version>
6565

66-
<gitlab.version>12.9.2-ce.0</gitlab.version>
67-
<gitlab.autoremove-container>true</gitlab.autoremove-container>
68-
<gitlab.skip-docker-start>true</gitlab.skip-docker-start>
69-
<gitlab.port>8090</gitlab.port>
70-
7166
<sonar.projectKey>gitlab4j_gitlab4j-api</sonar.projectKey>
7267
<sonar.organization>gitlab4j</sonar.organization>
7368
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
@@ -303,51 +298,6 @@
303298
</signature>
304299
</configuration>
305300
</plugin>
306-
307-
<plugin>
308-
<groupId>io.fabric8</groupId>
309-
<artifactId>docker-maven-plugin</artifactId>
310-
<version>0.43.0</version>
311-
<configuration>
312-
<images>
313-
<image>
314-
<name>gitlab/gitlab-ce:${gitlab.version}</name>
315-
<alias>gitlab</alias>
316-
<run>
317-
<skip>${gitlab.skip-docker-start}</skip>
318-
<env>
319-
<GITLAB_OMNIBUS_CONFIG>gitlab_rails['initial_root_password']="password";
320-
gitlab_rails['lfs_enabled']=false;</GITLAB_OMNIBUS_CONFIG>
321-
</env>
322-
<ports>
323-
<port>${gitlab.port}:80</port>
324-
</ports>
325-
<wait>
326-
<healthy>true</healthy>
327-
<time>300000</time>
328-
</wait>
329-
</run>
330-
</image>
331-
</images>
332-
<removeVolumes>true</removeVolumes>
333-
</configuration>
334-
<executions>
335-
<execution>
336-
<id>start</id>
337-
<phase>pre-integration-test</phase>
338-
<goals>
339-
<goal>start</goal>
340-
</goals>
341-
</execution>
342-
<execution>
343-
<id>stop</id>
344-
<phase>post-integration-test</phase>
345-
<goals>
346-
<goal>stop</goal>
347-
</goals>
348-
</execution>
349-
</executions>
350-
</plugin>
351301
</plugins>
352302

353303
<pluginManagement>

src/test/java/org/gitlab4j/api/TestAccessToken.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525
@Tag("integration")
2626
@ExtendWith(SetupIntegrationTestExtension.class)
27+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
2728
public class TestAccessToken extends AbstractIntegrationTest {
2829

2930
// TEST_ACCESS_TOKEN must be defined to run this test

src/test/java/org/gitlab4j/api/TestAccessTokenUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
*/
2828
@Tag("integration")
2929
@ExtendWith(SetupIntegrationTestExtension.class)
30+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
3031
public class TestAccessTokenUtils {
3132

3233
// The following needs to be set to your test repository

src/test/java/org/gitlab4j/api/TestApplicationSettingsApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
*/
4747
@Tag("integration")
4848
@ExtendWith(SetupIntegrationTestExtension.class)
49+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
4950
public class TestApplicationSettingsApi extends AbstractIntegrationTest {
5051

5152
private static GitLabApi gitLabApi;

src/test/java/org/gitlab4j/api/TestApplicationsApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
*/
4949
@Tag("integration")
5050
@ExtendWith(SetupIntegrationTestExtension.class)
51+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
5152
public class TestApplicationsApi extends AbstractIntegrationTest {
5253

5354
private static final String TEST_APPLICATION_NAME = "Test Application for GitLab4J-API";

src/test/java/org/gitlab4j/api/TestAvatarUpload.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*/
3030
@Tag("integration")
3131
@ExtendWith(SetupIntegrationTestExtension.class)
32+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
3233
@TestMethodOrder(MethodOrderer.MethodName.class)
3334
public class TestAvatarUpload extends AbstractIntegrationTest {
3435

src/test/java/org/gitlab4j/api/TestCommitsApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
*/
4949
@Tag("integration")
5050
@ExtendWith(SetupIntegrationTestExtension.class)
51+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
5152
@TestMethodOrder(MethodOrderer.MethodName.class)
5253
public class TestCommitsApi extends AbstractIntegrationTest {
5354

src/test/java/org/gitlab4j/api/TestDeployKeysApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020
@Tag("integration")
2121
@ExtendWith(SetupIntegrationTestExtension.class)
22+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
2223
public class TestDeployKeysApi extends AbstractIntegrationTest {
2324

2425
// The following needs to be set to your test repository

src/test/java/org/gitlab4j/api/TestDeployTokensApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
*/
3636
@Tag("integration")
3737
@ExtendWith(SetupIntegrationTestExtension.class)
38+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
3839
public class TestDeployTokensApi extends AbstractIntegrationTest {
3940

4041
// The following needs to be set to your test repository

src/test/java/org/gitlab4j/api/TestDeploymentsApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
*/
3333
@Tag("integration")
3434
@ExtendWith(SetupIntegrationTestExtension.class)
35+
@org.junit.jupiter.api.Disabled("Integration tests are disabled, see https://github.com/gitlab4j/gitlab4j-api/issues/1165")
3536
public class TestDeploymentsApi extends AbstractIntegrationTest {
3637

3738
// The following needs to be set to your test repository

0 commit comments

Comments
 (0)