|
47 | 47 | import org.junit.jupiter.api.Test; |
48 | 48 | import org.junit.jupiter.api.TestMethodOrder; |
49 | 49 | import org.junit.jupiter.api.condition.DisabledIfSystemProperty; |
| 50 | +import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable; |
50 | 51 | import org.junit.jupiter.api.condition.EnabledIfSystemProperty; |
51 | 52 | import org.junit.jupiter.api.extension.ExtendWith; |
52 | 53 | import org.junit.jupiter.api.extension.Extension; |
@@ -289,21 +290,21 @@ public void applicationMetadataDockerTests() { |
289 | 290 | } |
290 | 291 |
|
291 | 292 | @Test |
292 | | - @EnabledIfSystemProperty(named = "SCDF_CR_TEST", matches="true") |
| 293 | + @EnabledIfEnvironmentVariable(named = "SCDF_CR_TEST", matches="true") |
293 | 294 | public void githubContainerRegistryTests() { |
294 | 295 | containerRegistryTests("github-log-sink", |
295 | 296 | "docker:ghcr.io/tzolov/log-sink-rabbit:3.1.0-SNAPSHOT"); |
296 | 297 | } |
297 | 298 |
|
298 | 299 | @Test |
299 | | - @EnabledIfSystemProperty(named = "SCDF_CR_TEST", matches="true") |
| 300 | + @EnabledIfEnvironmentVariable(named = "SCDF_CR_TEST", matches="true") |
300 | 301 | public void azureContainerRegistryTests() { |
301 | 302 | containerRegistryTests("azure-log-sink", |
302 | 303 | "docker:scdftest.azurecr.io/springcloudstream/log-sink-rabbit:3.1.0-SNAPSHOT"); |
303 | 304 | } |
304 | 305 |
|
305 | 306 | @Test |
306 | | - @EnabledIfSystemProperty(named = "SCDF_CR_TEST", matches="true") |
| 307 | + @EnabledIfEnvironmentVariable(named = "SCDF_CR_TEST", matches="true") |
307 | 308 | public void harborContainerRegistryTests() { |
308 | 309 | containerRegistryTests("harbor-log-sink", |
309 | 310 | "docker:projects.registry.vmware.com/scdf/scdftest/log-sink-rabbit:3.1.0-SNAPSHOT"); |
|
0 commit comments