Skip to content

Commit

Permalink
Enable tests (#1845)
Browse files Browse the repository at this point in the history
* test

* fix @nested tests not running

* trigger again

* Add renovate.json

* Delete renovate.json

* Delete delme.sh

* enable tests

Signed-off-by: wind57 <[email protected]>

---------

Signed-off-by: wind57 <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and ryanjbaxter committed Jan 19, 2025
1 parent 5cd5eea commit 677992f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
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 @@ -115,8 +114,6 @@ 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) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
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 @@ -117,8 +116,6 @@ 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) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
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 @@ -91,8 +90,6 @@ 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 @@ -33,7 +33,6 @@
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 @@ -94,8 +93,6 @@ 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,7 +28,6 @@
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 @@ -100,7 +99,6 @@ void afterEach() {
configWatcher(Phase.DELETE);
}

@Disabled
@Test
void testRefresh() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
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,7 +98,6 @@ void after() {
configWatcher(Phase.DELETE);
}

@Disabled
@Test
void testRefresh() {

Expand Down

0 comments on commit 677992f

Please sign in to comment.