Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@
7. Test EIT enabled volume test cases
```
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[eit\]" ./e2e
```
```

8. Test RFS profile and it's storage classes
```
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[sc_rfs\]" ./e2e
```
20 changes: 20 additions & 0 deletions e2e/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ while [[ $# -gt 0 ]]; do
shift
shift
;;
--run-rfs-test-cases)
e2e_rfs_test_case="$2"
shift
shift
;;
*)
UNKOWNPARAM+=("$1")
shift
Expand Down Expand Up @@ -227,6 +232,21 @@ ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[resize\] \[pv\]" ./e2e -- -e2e-verify-
rc2=$?
echo "Exit status for resize volume test: $rc2"

# RFS Profile tests
if [[ "$e2e_rfs_test_case" == "true" ]]; then
ginkgo -v -nodes=1 --focus="\[ics-e2e\] \[sc_rfs\]" ./e2e -- -e2e-verify-service-account=false
rc4=$?
echo "Exit status for RFS Profile volume test: $rc4"

if [[ $rc4 -eq 0 ]]; then
echo -e "VPC-FILE-CSI-TEST-RFS: VPC-File-RFS-Volume-Tests: PASS" >> $E2E_TEST_RESULT
else
echo -e "VPC-FILE-CSI-TEST-RFS: VPC-File-RFS-Volume-Tests: FAILED" >> $E2E_TEST_RESULT
fi
else
echo -e "VPC-FILE-CSI-TEST-RFS: VPC-File-Volume-Tests: SKIP" >> $E2E_TEST_RESULT
fi

if [[ $rc1 -eq 0 && $rc2 -eq 0 ]]; then
echo -e "VPC-FILE-CSI-TEST: VPC-File-Volume-Tests: PASS" >> $E2E_TEST_RESULT
else
Expand Down
Loading