Skip to content

Commit

Permalink
Add debug info to e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Beck <[email protected]>
  • Loading branch information
Kidswiss committed Mar 15, 2024
1 parent 26f2125 commit 68cca92
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions e2e/test-03-backup.bats
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ DEBUG_DETIK="true"
echo "${output}"
echo "---END---"

echo "${output} = ${expected_content}"
[ "${output}" = "${expected_content}" ]
}
1 change: 1 addition & 0 deletions e2e/test-05-annotated-backup.bats
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ DEBUG_DETIK="true"
echo "${output}"
echo "---END---"

echo "${output} = ${expected_content}"
[ "${output}" = "${expected_content}" ]
}
2 changes: 2 additions & 0 deletions e2e/test-06-pvc-rwo.bats
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ DEBUG_DETIK="true"
echo "${output}"
echo "---END---"

echo "${output} = ${expected_content}-worker"
[ "${output}" = "${expected_content}-worker" ]

run get_latest_snap_by_path /data/pvc-rwo-subject-pvc-controlplane
Expand All @@ -60,5 +61,6 @@ DEBUG_DETIK="true"
echo "${output}"
echo "---END---"

echo "${output} = ${expected_content}-controlplane"
[ "${output}" = "${expected_content}-controlplane" ]
}
3 changes: 2 additions & 1 deletion e2e/test-09-pod-backupcommand.bats
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ DEBUG_DETIK="true"
echo "${output}"
echo "---END---"

echo "${output} = ${expected_content}"
[ "${output}" = "${expected_content}" ]
}
}

0 comments on commit 68cca92

Please sign in to comment.