Commit 9f343bb5 authored by Georgios P. Katsikas's avatar Georgios P. Katsikas
Browse files

fix: hardcoded paths in p4 L1 fwd test

parent 9179d075
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -18,5 +18,4 @@
# - tfs_runtime_env_vars.sh

source tfs_runtime_env_vars.sh
python -m pytest --verbose src/tests/p4/tests/test_functional_bootstrap.py
python -m pytest --verbose src/tests/p4-fwd-l1/tests/test_functional_bootstrap.py
+1 −1
Original line number Diff line number Diff line
@@ -14,4 +14,4 @@
# limitations under the License.

source tfs_runtime_env_vars.sh
python -m pytest --verbose src/tests/p4/tests/test_functional_create_service.py
python -m pytest --verbose src/tests/p4-fwd-l1/tests/test_functional_create_service.py
+1 −1
Original line number Diff line number Diff line
@@ -14,4 +14,4 @@
# limitations under the License.

source tfs_runtime_env_vars.sh
python -m pytest --verbose src/tests/p4/tests/test_functional_delete_service.py
python -m pytest --verbose src/tests/p4-fwd-l1/tests/test_functional_delete_service.py
+1 −1
Original line number Diff line number Diff line
@@ -14,4 +14,4 @@
# limitations under the License.

source tfs_runtime_env_vars.sh
python -m pytest --verbose src/tests/p4/tests/test_functional_cleanup.py
python -m pytest --verbose src/tests/p4-fwd-l1/tests/test_functional_cleanup.py
+2 −2
Original line number Diff line number Diff line
@@ -18,5 +18,5 @@ export POD_NAME=$(kubectl get pods -n=tfs | grep device | awk '{print $1}')

kubectl exec ${POD_NAME} -n=tfs -c=server -- mkdir /root/p4

kubectl cp src/tests/p4/p4/p4info.txt tfs/${POD_NAME}:/root/p4 -c=server
kubectl cp src/tests/p4/p4/bmv2.json tfs/${POD_NAME}:/root/p4 -c=server
kubectl cp src/tests/p4-fwd-l1/p4/p4info.txt tfs/${POD_NAME}:/root/p4 -c=server
kubectl cp src/tests/p4-fwd-l1/p4/bmv2.json tfs/${POD_NAME}:/root/p4 -c=server
+1 −1

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

Loading