diff --git a/qa/os/src/test/java/org/elasticsearch/packaging/test/CertGenCliTests.java b/qa/os/src/test/java/org/elasticsearch/packaging/test/CertGenCliTests.java index d0cd54f5ef4..02d61964f6a 100644 --- a/qa/os/src/test/java/org/elasticsearch/packaging/test/CertGenCliTests.java +++ b/qa/os/src/test/java/org/elasticsearch/packaging/test/CertGenCliTests.java @@ -50,7 +50,7 @@ public class CertGenCliTests extends PackagingTestCase { @Before public void filterDistros() { assumeTrue("only default distro", distribution.flavor == Distribution.Flavor.DEFAULT); - assumeTrue("no docker", distribution.packaging != Distribution.Packaging.DOCKER); + assumeFalse("no docker", distribution.isDocker()); } @BeforeClass