From 3f0cf04efd86ee181e2358488390b408a2e1b4d3 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Mon, 12 Jul 2021 11:42:45 -0400 Subject: Short Term fix for javax.servlet-api Fixing run-csit.sh script Commenting out few sdnc_csit.robot tests for short term Issue-ID: SDNC-1581 Signed-off-by: Singal, Kapil (ks220y) Change-Id: I0a4941519eff4e774d77a59dcf3da3da457356e5 Former-commit-id: de3e2550b9b63e49d2813e6b3d94cb0a1a33c791 --- csit/plans/sdnc/setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'csit/plans') diff --git a/csit/plans/sdnc/setup.sh b/csit/plans/sdnc/setup.sh index ec5d9b9e..5b8e4fa8 100644 --- a/csit/plans/sdnc/setup.sh +++ b/csit/plans/sdnc/setup.sh @@ -109,10 +109,8 @@ fi num_bundles=$(docker exec -i ${SDNC_CONTAINER_NAME} sh -c "echo '' | /opt/opendaylight/current/bin/client bundle:list" | tail -1 | cut -d' ' -f1) if [ "$num_bundles" -ge 333 ]; then - num_bundles=$(docker exec -i ${SDNC_CONTAINER_NAME} sh -c "echo '' | /opt/opendaylight/current/bin/client bundle:list" | tail -1 | cut -d' ' -f1) - - num_failed_bundles=$(docker exec -i ${SDNC_CONTAINER_NAME} sh -c "echo '' | /opt/opendaylight/current/bin/client bundle:list" | grep Failure | wc -l) - failed_bundles=$(docker exec -i ${SDNC_CONTAINER_NAME} sh -c "echo '' | /opt/opendaylight/current/bin/client bundle:list" | grep Failure) + num_failed_bundles=$(docker exec -i ${SDNC_CONTAINER_NAME} sh -c "echo '' | /opt/opendaylight/current/bin/client bundle:list" | grep -w Failure | wc -l) + failed_bundles=$(docker exec -i ${SDNC_CONTAINER_NAME} sh -c "echo '' | /opt/opendaylight/current/bin/client bundle:list" | grep -w Failure) echo There is/are $num_failed_bundles failed bundles out of $num_bundles installed bundles. fi -- cgit 1.2.3-korg