Enable tests (#1845)
* test * fix @Nested tests not running * trigger again * Add renovate.json * Delete renovate.json * Delete delme.sh * enable tests Signed-off-by: wind57 <eugen.rabii@gmail.com> --------- Signed-off-by: wind57 <eugen.rabii@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
@@ -37,7 +37,6 @@ import org.awaitility.Awaitility;
|
||||
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;
|
||||
@@ -115,8 +114,6 @@ class PollingReloadConfigMapTest {
|
||||
* - 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) {
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@ import org.awaitility.Awaitility;
|
||||
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;
|
||||
@@ -117,8 +116,6 @@ class PollingReloadSecretTest {
|
||||
* - 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) {
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
|
||||
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;
|
||||
@@ -91,8 +90,6 @@ class PollingReloadConfigMapTest {
|
||||
* - 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'
|
||||
|
||||
@@ -33,7 +33,6 @@ import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
|
||||
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;
|
||||
@@ -94,8 +93,6 @@ public class PollingReloadSecretTest {
|
||||
* - 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'
|
||||
|
||||
@@ -28,7 +28,6 @@ import org.junit.jupiter.api.AfterEach;
|
||||
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;
|
||||
@@ -100,7 +99,6 @@ class ConfigurationWatcherMultipleAppsIT {
|
||||
configWatcher(Phase.DELETE);
|
||||
}
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
void testRefresh() {
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ import org.junit.jupiter.api.AfterEach;
|
||||
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;
|
||||
@@ -99,7 +98,6 @@ class ConfigurationWatcherMultipleAppIT {
|
||||
configWatcher(Phase.DELETE);
|
||||
}
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
void testRefresh() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user