From 53433ac40ff7ff711240f4b9a75878da0e8cd1ce Mon Sep 17 00:00:00 2001 From: Odilon Sousa Date: Thu, 21 Sep 2023 17:48:32 -0300 Subject: [PATCH] Update Incremental export size check on katello-content.bats Pulpcore changed its compression logic, the value that bats expects should be update. See https://github.com/pulp/pulpcore/issues/4434 and https://github.com/pulp/pulpcore/issues/4411 for more details --- bats/fb-katello-content.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bats/fb-katello-content.bats b/bats/fb-katello-content.bats index 48d82576e..53cef58bf 100755 --- a/bats/fb-katello-content.bats +++ b/bats/fb-katello-content.bats @@ -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" { @@ -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" {