Loading src/nbi/.gitlab-ci.yml +8 −7 Original line number Diff line number Diff line Loading @@ -96,13 +96,14 @@ unit_test nbi: --env IETF_NETWORK_RENDERER=LIBYANG --env "KFK_SERVER_ADDRESS=${KAFKA_IP}:9092" $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG - > while ! docker logs $IMAGE_NAME 2>&1 | grep -q 'Initialization completed'; do echo "NBI log, last 20 lines:" docker logs $IMAGE_NAME | tail -n 20 sleep 10; done - sleep 5 # Give extra time to NBI to get ready #- > # while ! docker logs $IMAGE_NAME 2>&1 | grep -q 'Initialization completed'; do # echo "NBI log, last 20 lines:" # docker logs $IMAGE_NAME | tail -n 20 # sleep 10; # done #- sleep 5 # Give extra time to NBI to get ready - sleep 10*60 - docker ps -a - docker logs kafka - docker logs mock_tfs_nbi_dependencies Loading src/telemetry/backend/tests/test_emulated.py +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ def setup_collector(): def connected_configured_collector(setup_collector): collector = setup_collector # EmulatedCollector(address="127.0.0.1", port=8080) collector.Connect() collector.SetConfig(create_test_configuration()) #collector.SetConfig(create_test_configuration()) # method not implemented yield collector collector.Disconnect() Loading Loading
src/nbi/.gitlab-ci.yml +8 −7 Original line number Diff line number Diff line Loading @@ -96,13 +96,14 @@ unit_test nbi: --env IETF_NETWORK_RENDERER=LIBYANG --env "KFK_SERVER_ADDRESS=${KAFKA_IP}:9092" $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG - > while ! docker logs $IMAGE_NAME 2>&1 | grep -q 'Initialization completed'; do echo "NBI log, last 20 lines:" docker logs $IMAGE_NAME | tail -n 20 sleep 10; done - sleep 5 # Give extra time to NBI to get ready #- > # while ! docker logs $IMAGE_NAME 2>&1 | grep -q 'Initialization completed'; do # echo "NBI log, last 20 lines:" # docker logs $IMAGE_NAME | tail -n 20 # sleep 10; # done #- sleep 5 # Give extra time to NBI to get ready - sleep 10*60 - docker ps -a - docker logs kafka - docker logs mock_tfs_nbi_dependencies Loading
src/telemetry/backend/tests/test_emulated.py +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ def setup_collector(): def connected_configured_collector(setup_collector): collector = setup_collector # EmulatedCollector(address="127.0.0.1", port=8080) collector.Connect() collector.SetConfig(create_test_configuration()) #collector.SetConfig(create_test_configuration()) # method not implemented yield collector collector.Disconnect() Loading