Handle emtpy env values are removed by kubernetes. #64
GitHub Actions / Integration Test Reports
succeeded
Oct 22, 2024 in 1s
66 passed, 0 failed and 0 skipped
✅ build/test-results/integrationTest/TEST-no.fintlabs.HttpTests.xml
5 tests were completed in 8s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.HttpTests | 5✅ | 8s |
✅ no.fintlabs.HttpTests
✅ should return readiness ok()
✅ should return metrics()
✅ should return readiness fail(KubernetesOperatorContext)
✅ should return health fail(KubernetesOperatorContext)
✅ should return health ok()
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.DeploymentDRTest.xml
25 tests were completed in 20s with 25 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.DeploymentDRTest | 25✅ | 20s |
✅ no.fintlabs.operator.DeploymentDRTest
✅ should not recreate deployment on pod selector match(KubernetesOperatorContext)
✅ should have volume mounts for Kafka(KubernetesOperatorContext)
✅ should have loki logging enabled(KubernetesOperatorContext)
✅ should create deployment with recreate strategy(KubernetesOperatorContext)
✅ should create deployment with correct image pull secrets(KubernetesOperatorContext)
✅ should add managed by label(KubernetesOperatorContext)
✅ should create deployment with correct replicas(KubernetesOperatorContext)
✅ should create deployment with correct labels(KubernetesOperatorContext)
✅ should create deployment with correct container pull policy(KubernetesOperatorContext)
✅ should have volume for Kafka(KubernetesOperatorContext)
✅ should have additional envFrom variable from 1Password(KubernetesOperatorContext)
✅ should have additional envFrom variable from database(KubernetesOperatorContext)
✅ should recreate deployment on pod selector change selector(KubernetesOperatorContext)
✅ should create deployment with rolling update strategy(KubernetesOperatorContext)
✅ should update deployment with correct image(KubernetesOperatorContext)
✅ should create deployment(KubernetesOperatorContext)
✅ should have metric port open when metrics are enabled and app and metric port differ(KubernetesOperatorContext)
✅ should have correct resource limits(KubernetesOperatorContext)
✅ should have additional env variables(KubernetesOperatorContext)
✅ should have additional envFrom variable from Kafka(KubernetesOperatorContext)
✅ should have loki logging enabled by default(KubernetesOperatorContext)
✅ should throw error on invalid replicas(KubernetesOperatorContext)
✅ should not have overlapping env variables(KubernetesOperatorContext)
✅ should have loki logging disabled(KubernetesOperatorContext)
✅ should have correct path env vars(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.FlaisApplicationReconcilerTest.xml
3 tests were completed in 16s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.FlaisApplicationReconcilerTest | 3✅ | 16s |
✅ no.fintlabs.operator.FlaisApplicationReconcilerTest
✅ should not set correlation id on FlaisApplication if exists(KubernetesOperatorContext)
✅ should set correlation id on FlaisApplication(KubernetesOperatorContext)
✅ should handle dependent errors(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.IngressDRTest.xml
12 tests were completed in 12s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.IngressDRTest | 12✅ | 12s |
✅ no.fintlabs.operator.IngressDRTest
✅ should not create IngressRoute(KubernetesOperatorContext)
✅ should create IngressRoute with regex header(KubernetesOperatorContext)
✅ should create IngressRoute with multiple middlewares(KubernetesOperatorContext)
✅ should create IngressRoute with multiple routes(KubernetesOperatorContext)
✅ should create simple IngressRoute(KubernetesOperatorContext)
✅ should create IngressRoute with regex query(KubernetesOperatorContext)
✅ should create IngressRoute with regex path(KubernetesOperatorContext)
✅ should create IngressRoute with multiple regexes and non-regexes(KubernetesOperatorContext)
✅ should create full IngressRoute(KubernetesOperatorContext)
✅ should create IngressRoute with multiple queries(KubernetesOperatorContext)
✅ should create IngressRoute with multiple headers(KubernetesOperatorContext)
✅ should create IngressRoute with multiple regexes(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.KafkaDRTest.xml
4 tests were completed in 7s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.KafkaDRTest | 4✅ | 7s |
✅ no.fintlabs.operator.KafkaDRTest
✅ should create KafkaUserAndAcl(KubernetesOperatorContext)
✅ should create KafkaUserAndAcl with multiple acls(KubernetesOperatorContext)
✅ should not create KafkaUserAndAcl since enabled is false(KubernetesOperatorContext)
✅ should not create KafkaUserAndAcl since acls is not set(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.LegacyIngressDRTest.xml
7 tests were completed in 8s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.LegacyIngressDRTest | 7✅ | 8s |
✅ no.fintlabs.operator.LegacyIngressDRTest
✅ should not create IngressRoute since url is not set(KubernetesOperatorContext)
✅ should not create IngressRoute since enabled is false(KubernetesOperatorContext)
✅ should not accept invalid hostname(KubernetesOperatorContext)
✅ should not accept invalid path(KubernetesOperatorContext)
✅ should create IngressRoute with custom path(KubernetesOperatorContext)
✅ should create IngressRoute(KubernetesOperatorContext)
✅ should create IngressRoute with default path(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.OnePasswordDRTest.xml
3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.OnePasswordDRTest | 3✅ | 5s |
✅ no.fintlabs.operator.OnePasswordDRTest
✅ should create OnePasswordItem(KubernetesOperatorContext)
✅ should not create OnePasswordItem since itemPath is not set(KubernetesOperatorContext)
✅ should not create OnePasswordItem since onePassword is not set(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.PodMetricsDRTest.xml
3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.PodMetricsDRTest | 3✅ | 4s |
✅ no.fintlabs.operator.PodMetricsDRTest
✅ should not create PodMonitor when metrics is disabled(KubernetesOperatorContext)
✅ should create PodMonitor with correct path and port(KubernetesOperatorContext)
✅ should create PodMonitor(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.PostgresUserDRTest.xml
2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.PostgresUserDRTest | 2✅ | 5s |
✅ no.fintlabs.operator.PostgresUserDRTest
✅ should not create PGUser since database is not set(KubernetesOperatorContext)
✅ should create PGUser(KubernetesOperatorContext)
✅ build/test-results/integrationTest/TEST-no.fintlabs.operator.ServiceDRTest.xml
2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
no.fintlabs.operator.ServiceDRTest | 2✅ | 3s |
✅ no.fintlabs.operator.ServiceDRTest
✅ should create Service with custom port(KubernetesOperatorContext)
✅ should create Service(KubernetesOperatorContext)
Loading