Skip to content

Commit

Permalink
Merge pull request quarkusio#14891 from geoand/windows-flaky-test
Browse files Browse the repository at this point in the history
Disable flaky test on Windows
  • Loading branch information
gsmet authored Feb 9, 2021
2 parents c2ae110 + eb3ddbf commit 30c0760
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.extension.RegisterExtension;

import io.quarkus.test.QuarkusUnitTest;
Expand Down Expand Up @@ -183,6 +185,7 @@ public void testWriter() {
.then().body(Matchers.equalTo("VERTX-BUFFER"));
}

@DisabledOnOs(OS.WINDOWS)
@Test
public void testAsync() {
RestAssured.get("/simple/async/cs/ok")
Expand Down Expand Up @@ -364,6 +367,7 @@ public void fieldInjectionWithSubClasses() {
.then().body(Matchers.equalTo("OK"));
}

@DisabledOnOs(OS.WINDOWS)
@Test
public void testNewParams() {
RestAssured.get("/new-params/myklass/myregex/context")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.extension.RegisterExtension;

import io.quarkus.test.QuarkusUnitTest;
Expand All @@ -27,6 +29,7 @@
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.subscription.Cancellable;

@DisabledOnOs(OS.WINDOWS)
public class StreamTestCase {

@TestHTTPResource
Expand Down

0 comments on commit 30c0760

Please sign in to comment.