Skip to content

Commit

Permalink
fix: disable test on windows
Browse files Browse the repository at this point in the history
TestContainer didn't works on the windows runner
  • Loading branch information
loicmathieu committed Sep 17, 2019
1 parent af29b39 commit 703528b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

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.testcontainers.containers.FixedHostPortGenericContainer;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.junit.jupiter.Container;
Expand All @@ -33,6 +35,7 @@
import io.restassured.parsing.Parser;
import io.restassured.response.Response;

@DisabledOnOs(OS.WINDOWS)
@QuarkusTest
@Testcontainers
class BookResourceTest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package io.quarkus.it.mongodb.panache;

import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.testcontainers.junit.jupiter.Testcontainers;

import io.quarkus.test.junit.SubstrateTest;

@DisabledOnOs(OS.WINDOWS)
@SubstrateTest
@Testcontainers
class NativeBookResourceIT extends BookResourceTest {
Expand Down

0 comments on commit 703528b

Please sign in to comment.