Update dfc env variables 25/95525/4
authoryanhuanwang <martin.c.yan@est.tech>
Wed, 11 Sep 2019 18:44:10 +0000 (20:44 +0200)
committerChengkai Yan <martin.c.yan@est.tech>
Thu, 12 Sep 2019 09:35:56 +0000 (09:35 +0000)
Change-Id: Icc0620d18dc6b4e80ba8b17ca2b85444eedfe0e8
Issue-ID: DCAEGEN2-1702
Signed-off-by: Martin Yan <martin.c.yan@est.tech>
plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-suite/FuncSingleFile.robot

index 0dc2af1..2c46439 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
-running_containers=$(docker ps --filter name=dfc_ -q)
-
+running_containers=$(docker ps --filter name=dfc_ -qa)
+running_images=$(docker images -q)
 
 if [ -z "$running_containers" ]
 then
@@ -10,5 +10,6 @@ else
     echo "Stopping and removing containers"
     docker stop $running_containers
     docker rm $running_containers
+    docker rmi $running_images
 fi
 
index 0763583..af7b6f1 100755 (executable)
@@ -88,7 +88,7 @@ Verify single event with single 5MB SFTP file. From event poll to published file
     Set Environment Variable        FTP_TYPE                SFTP
     Set Environment Variable        NUM_FTP_SERVERS         1
     Set Environment Variable        DR_FEEDS                2:A
-    Set Environment Variable        DRR_SIM_IP              drsim_redir
+    Set Environment Variable        DR_REDIR_SIM            drsim_redir
     Set Environment Variable        SFTP_SIMS               sftp-server0:22
     Set Environment Variable        FTPS_SIMS               ftpes-server-vsftpd0:21
 
@@ -150,7 +150,7 @@ Verify single event with single 50MB SFTP file. From event poll to published fil
     Set Environment Variable        FTP_TYPE                SFTP
     Set Environment Variable        NUM_FTP_SERVERS         1
     Set Environment Variable        DR_FEEDS                2:A
-    Set Environment Variable        DRR_SIM_IP              drsim_redir
+    Set Environment Variable        DR_REDIR_SIM            drsim_redir
     Set Environment Variable        SFTP_SIMS               sftp-server0:22
     Set Environment Variable        FTPS_SIMS               ftpes-server-vsftpd0:21