Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 87a98cd

Browse files
tzolovjvalkeal
authored andcommitted
change conndition annotation
1 parent c3bba95 commit 87a98cd

File tree

1 file changed

+4
-3
lines changed
  • spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test

1 file changed

+4
-3
lines changed

spring-cloud-dataflow-server/src/test/java/org/springframework/cloud/dataflow/integration/test/DataFlowIT.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
import org.junit.jupiter.api.Test;
4848
import org.junit.jupiter.api.TestMethodOrder;
4949
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
50+
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
5051
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
5152
import org.junit.jupiter.api.extension.ExtendWith;
5253
import org.junit.jupiter.api.extension.Extension;
@@ -289,21 +290,21 @@ public void applicationMetadataDockerTests() {
289290
}
290291

291292
@Test
292-
@EnabledIfSystemProperty(named = "SCDF_CR_TEST", matches="true")
293+
@EnabledIfEnvironmentVariable(named = "SCDF_CR_TEST", matches="true")
293294
public void githubContainerRegistryTests() {
294295
containerRegistryTests("github-log-sink",
295296
"docker:ghcr.io/tzolov/log-sink-rabbit:3.1.0-SNAPSHOT");
296297
}
297298

298299
@Test
299-
@EnabledIfSystemProperty(named = "SCDF_CR_TEST", matches="true")
300+
@EnabledIfEnvironmentVariable(named = "SCDF_CR_TEST", matches="true")
300301
public void azureContainerRegistryTests() {
301302
containerRegistryTests("azure-log-sink",
302303
"docker:scdftest.azurecr.io/springcloudstream/log-sink-rabbit:3.1.0-SNAPSHOT");
303304
}
304305

305306
@Test
306-
@EnabledIfSystemProperty(named = "SCDF_CR_TEST", matches="true")
307+
@EnabledIfEnvironmentVariable(named = "SCDF_CR_TEST", matches="true")
307308
public void harborContainerRegistryTests() {
308309
containerRegistryTests("harbor-log-sink",
309310
"docker:projects.registry.vmware.com/scdf/scdftest/log-sink-rabbit:3.1.0-SNAPSHOT");

0 commit comments

Comments
 (0)