Skip to content

Commit

Permalink
properly skip Foreman/Katello offline backup tests on Proxy
Browse files Browse the repository at this point in the history
Fixes: e9a498d
  • Loading branch information
evgeni committed Aug 20, 2024
1 parent e9a498d commit dbe3422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bats/fb-test-backup.bats
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ BACKUP_ONLINE_DIR="${BACKUP_BASE_DIR}/online"

@test "check offline backup contests for Foreman" {
tForemanMaintainAvailable
tForemanAvailable

tFileExists "${BACKUP_OFFLINE_DIR}/config_files.tar.gz"
tFileExists "${BACKUP_OFFLINE_DIR}/metadata.yml"
Expand All @@ -50,6 +51,7 @@ BACKUP_ONLINE_DIR="${BACKUP_BASE_DIR}/online"

@test "check offline backup contents for Katello" {
tForemanMaintainAvailable
tForemanAvailable

if ! tPackageExists foreman-installer-katello; then
skip "Katello specific test"
Expand Down

0 comments on commit dbe3422

Please sign in to comment.