Commit 79d3859b authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Fix GitLab CI/CD pipeline

parent c6d4374e
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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()