Skip to content

Commit

Permalink
Update Incremental export size check on katello-content.bats
Browse files Browse the repository at this point in the history
Pulpcore changed its compression logic, the value that bats expects
should be update.

See pulp/pulpcore#4434 and
pulp/pulpcore#4411 for more details
  • Loading branch information
Odilhao committed Sep 21, 2023
1 parent fc39065 commit 53433ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bats/fb-katello-content.bats
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ setup() {
--content-view="${CONTENT_VIEW}" --id="$export_version_id"
actual_size=$(du -k "$(hammer --output csv --no-headers content-export list --content-view-version-id=$export_version_id --fields="path" --per-page=1)"/*.gz | cut -f 1)
# actual size of export should be less than 14K
[ $actual_size -le 14 ]
[ $actual_size -le 87 ]
}

@test "perform an incremental library export" {
Expand All @@ -238,7 +238,7 @@ setup() {

actual_size=$(du -k "$(hammer --output csv --no-headers content-export list --content-view-version-id=$export_version_id --fields="path" --per-page=1)"/*.gz | cut -f 1)

[ $actual_size -le 14 ]
[ $actual_size -le 174 ]
}

@test "create activation key" {
Expand Down

0 comments on commit 53433ac

Please sign in to comment.