From 18a79ebafa6c2b8737eb0702e1c17acbf57159ba Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 23 Dec 2021 12:36:40 +0000 Subject: Remove compulsory body from delete passthrough request - yaml spec (please note how order of parameter changed!) - Updated CSIT test - Slight improvement of cist setup script to prevent double download Issue-ID: CPS-836 Signed-off-by: ToineSiebelink Change-Id: Ic3510c9dfe28a3be09f5239ab5c8c4797d4f4792 --- csit/plans/cps/setup.sh | 4 ++-- csit/tests/ncmp-passthrough/ncmp-passthrough.robot | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'csit') diff --git a/csit/plans/cps/setup.sh b/csit/plans/cps/setup.sh index 5b3fd9649..6ef4c9a1f 100755 --- a/csit/plans/cps/setup.sh +++ b/csit/plans/cps/setup.sh @@ -75,8 +75,8 @@ mkdir -p $WORKSPACE/archives/dc-dmi cat $WORKSPACE/archives/ncmp-dmi-plugin/docker-compose/docker-compose.yml cp $WORKSPACE/archives/ncmp-dmi-plugin/docker-compose/*.yml $WORKSPACE/archives/dc-dmi cd $WORKSPACE/archives/dc-dmi -# download docker-compose of a required version (1.25.0 supports configuration of version 3.7) -curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > docker-compose +# copy docker-compose (downloaded already for cps) +cp $WORKSPACE/archives/dc-cps/docker-compose . chmod +x docker-compose ./docker-compose up -d diff --git a/csit/tests/ncmp-passthrough/ncmp-passthrough.robot b/csit/tests/ncmp-passthrough/ncmp-passthrough.robot index 1673baa60..36350ad52 100644 --- a/csit/tests/ncmp-passthrough/ncmp-passthrough.robot +++ b/csit/tests/ncmp-passthrough/ncmp-passthrough.robot @@ -100,7 +100,7 @@ Verify update to bookstore using passthrough-running did not remove category 02 Delete Bookstore using passthrough-running for Category 01 ${uri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo/data/ds/ncmp-datastore:passthrough-running?resourceIdentifier=stores:bookstore/categories=01 ${headers}= Create Dictionary Content-Type=application/json Authorization=${auth} - ${response}= DELETE On Session CPS_URL ${uri} headers=${headers} data={} + ${response}= DELETE On Session CPS_URL ${uri} headers=${headers} Should Be Equal As Strings ${response.status_code} 204 Verify delete to bookstore using passthrough-running removed only category 01 -- cgit 1.2.3-korg