diff --git a/src/integration_tester/.gitlab-ci.yml b/src/integration_tester/.gitlab-ci.yml index 2594e8a105c540df8eb83a83e5ea115cc6ba3e53..8068408ee77193d4a8d1e8b1f0bd133c64ce0b86 100644 --- a/src/integration_tester/.gitlab-ci.yml +++ b/src/integration_tester/.gitlab-ci.yml @@ -58,7 +58,7 @@ integration_test integration_tester: - kubectl delete pod $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --wait=true --ignore-not-found=true - kubectl get all # --rm to remove tester when it finishes - - kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i --tty + - kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i - kubectl get all #when: manual #allow_failure: false diff --git a/src/integration_tester/test_context_device.py b/src/integration_tester/test_context_device.py index bef7f02c7519212eb47f658da77603dc85b18372..cb2af5ca979d225742b72b4341f9c0b40bd36bc0 100644 --- a/src/integration_tester/test_context_device.py +++ b/src/integration_tester/test_context_device.py @@ -50,7 +50,7 @@ def test_get_topology_empty(context_client : ContextClient): including_default_value_fields=True, preserving_proto_field_name=True, use_integers_for_enums=False)) -def test_add_devices(device_client : DeviceClient): +def test_add_devices(context_client : ContextClient, device_client : DeviceClient): # should work for device in [DEVICE_DEV1, DEVICE_DEV2, DEVICE_DEV3]: validate_device_id(MessageToDict(