From c193dbd942337aea63bea12aebdfefaaaf545c84 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 8 Aug 2023 11:33:09 -0400 Subject: [PATCH] Require a non-generic reason for non-Fedora skip Signed-off-by: Chris Evich --- test/e2e/common_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 7901c69372..b19d5bb06d 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -817,10 +817,10 @@ func SkipOnOSVersion(os, version string) { } } -func SkipIfNotFedora() { +func SkipIfNotFedora(reason string) { info := GetHostDistributionInfo() if info.Distribution != "fedora" { - Skip("Test can only run on Fedora") + Skip(reason) } }