Skip to content

Commit

Permalink
Disabling tests for release
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Dec 2, 2024
1 parent 50198fa commit ad7c960
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.api.extension.ExtendWith;

import org.springframework.boot.test.context.SpringBootTest;
Expand Down Expand Up @@ -132,6 +133,7 @@ static void after() {
* - second polling cycle reads sources from k8s and finds a change
* </pre>
*/
@DisabledIfEnvironmentVariable(named = "JENKINS_HOME", matches = "^(?=\\s*\\S).*$", disabledReason = "failing on jenkins")
@Test
void test(CapturedOutput output) {
// we fail while reading 'configMapOne'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.api.extension.ExtendWith;

import org.springframework.boot.test.context.SpringBootTest;
Expand Down Expand Up @@ -133,6 +134,7 @@ static void after() {
* - second polling cycle reads sources from k8s and finds a change
* </pre>
*/
@DisabledIfEnvironmentVariable(named = "JENKINS_HOME", matches = "^(?=\\s*\\S).*$", disabledReason = "failing on jenkins")
@Test
void test(CapturedOutput output) {
// we fail while reading 'secretOne'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.awaitility.Awaitility;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.api.extension.ExtendWith;

import org.springframework.boot.test.context.SpringBootTest;
Expand Down Expand Up @@ -105,6 +106,7 @@ static void beforeAll() {
* - second polling cycle reads sources from k8s and finds a change
* </pre>
*/
@DisabledIfEnvironmentVariable(named = "JENKINS_HOME", matches = "^(?=\\s*\\S).*$", disabledReason = "failing on jenkins")
@Test
void test(CapturedOutput output) {
// we fail while reading 'configMapOne'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.awaitility.Awaitility;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.api.extension.ExtendWith;

import org.springframework.boot.test.context.SpringBootTest;
Expand Down Expand Up @@ -108,6 +109,7 @@ static void beforeAll() {
* - second polling cycle reads sources from k8s and finds a change
* </pre>
*/
@DisabledIfEnvironmentVariable(named = "JENKINS_HOME", matches = "^(?=\\s*\\S).*$", disabledReason = "failing on jenkins")
@Test
void test(CapturedOutput output) {
// we fail while reading 'secretOne'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.testcontainers.k3s.K3sContainer;
import reactor.netty.http.client.HttpClient;
Expand Down Expand Up @@ -99,6 +100,7 @@ void afterEach() {
configWatcher(Phase.DELETE);
}

@Disabled
@Test
void testRefresh() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.testcontainers.k3s.K3sContainer;
import reactor.netty.http.client.HttpClient;
Expand Down Expand Up @@ -98,6 +99,7 @@ void after() {
configWatcher(Phase.DELETE);
}

@Disabled
@Test
void testRefresh() {

Expand Down

0 comments on commit ad7c960

Please sign in to comment.