Skip to content

Commit

Permalink
Disable flaky tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Feb 9, 2021
1 parent dac8d8b commit eb3ddbf
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 eb3ddbf

Please sign in to comment.