summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/xtesting')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/Dockerfile5
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/testcases.yaml3
2 files changed, 5 insertions, 3 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/Dockerfile b/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/Dockerfile
index 299f8ef3..8a092def 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/Dockerfile
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/Dockerfile
@@ -1,5 +1,5 @@
##
-## Copyright (c) 2020 Intel Corporation
+## Copyright (c) 2020-2021 Intel Corporation
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
@@ -22,8 +22,7 @@ ENV RAPID_TEST =rapid_tst009_throughput
RUN git clone https://git.opnfv.org/samplevnf /samplevnf
WORKDIR /samplevnf/VNFs/DPPD-PROX/helper-scripts/rapid
-COPY rapid.env /samplevnf/VNFs/DPPD-PROX/helper-scripts/rapid/.
-COPY rapid_key.pem /samplevnf/VNFs/DPPD-PROX/helper-scripts/rapid/.
+RUN chmod 400 /samplevnf/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_rsa_key
COPY testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
RUN apk add python3-dev openssh-client && cd /samplevnf/VNFs/DPPD-PROX/helper-scripts/rapid/ && git init && pip3 install .
CMD ["run_tests", "-t", "all"]
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/testcases.yaml b/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/testcases.yaml
index f753e8e8..3cdda7d7 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/testcases.yaml
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/testcases.yaml
@@ -18,6 +18,7 @@ tiers:
args:
test_file: tests/irq.test
runtime: 5
+ environment_file: config/rapid.env
-
name: TST009_rapid_benchmarking
order: 2
@@ -36,6 +37,7 @@ tiers:
args:
test_file: tests/TST009_Throughput_64B_64F.test
runtime: 5
+ environment_file: config/rapid.env
-
case_name: rapid_tst009_acaeab_16384f
project_name: rapidxt
@@ -49,3 +51,4 @@ tiers:
args:
test_file: tests/TST009_Throughput_acaeab_16384F.test
runtime: 5
+ environment_file: config/rapid.env