Skip to content

Commit 715c479

Browse files
authored
disable fleet non-root tests with older stack versions (#8867) (#8870)
(cherry picked from commit f5bcf2d)
1 parent b376fb5 commit 715c479

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/e2e/agent/recipes_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ func TestFleetKubernetesIntegrationRecipe(t *testing.T) {
127127
func TestFleetKubernetesNonRootIntegrationRecipe(t *testing.T) {
128128
v := version.MustParse(test.Ctx().ElasticStackVersion)
129129

130+
if (v.GE(version.MinFor(7, 17, 28)) && v.LT(version.MinFor(8, 0, 0))) ||
131+
(v.GE(version.MinFor(8, 1, 3)) && v.LT(version.MinFor(8, 2, 0))) {
132+
t.Skipf("Skipped as version %s is affected by https://github.com/elastic/kibana/pull/236788", v)
133+
}
134+
130135
// https://github.com/elastic/cloud-on-k8s/issues/6331
131136
if v.LT(version.MinFor(8, 7, 0)) && v.GE(version.MinFor(8, 6, 0)) {
132137
t.SkipNow()

0 commit comments

Comments
 (0)