Giter Site home page Giter Site logo

quarkus--provider-quarkus-not-installed's Introduction

quarkus--provider-quarkus-not-installed

reproduces bug in continuous testing with @Nested classes.

While one @Nested works beautifully @Nested-@Nested fails with

2024-06-14 16:18:07,996 ERROR [io.qua.test] (Test runner thread) Test itsANiceWayToStructureYourTests#testHelloEndpoint() failed 
: java.lang.RuntimeException: java.nio.file.FileSystemNotFoundException: Provider "quarkus" not installed
        at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:642)
        at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:726)
        at java.base/java.util.Optional.orElseGet(Optional.java:364)
        at java.base/java.util.Optional.orElseGet(Optional.java:364)
        at java.base/java.util.Optional.orElseGet(Optional.java:364)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.nio.file.FileSystemNotFoundException: Provider "quarkus" not installed
        at java.base/java.nio.file.Path.of(Path.java:213)
        at java.base/java.nio.file.Paths.get(Paths.java:98)
        at io.quarkus.runtime.util.ClassPathUtils.toLocalPath(ClassPathUtils.java:224)
        at io.quarkus.test.common.PathTestHelper.toPath(PathTestHelper.java:285)
        at io.quarkus.test.common.PathTestHelper.getTestClassesLocation(PathTestHelper.java:148)
        at io.quarkus.test.junit.AbstractJvmQuarkusTestExtension.createAugmentor(AbstractJvmQuarkusTestExtension.java:130)
        at io.quarkus.test.junit.QuarkusTestExtension.doJavaStart(QuarkusTestExtension.java:218)
        at io.quarkus.test.junit.QuarkusTestExtension.ensureStarted(QuarkusTestExtension.java:609)
        at io.quarkus.test.junit.QuarkusTestExtension.beforeAll(QuarkusTestExtension.java:659)
        ... 1 more

reproduce it

git clone https://github.com/flyinfish/quarkus--provider-quarkus-not-installed.git
cd quarkus--provider-quarkus-not-installed
./mvnw quarkus:test

test is always the same - just that GreetingResourceNestedNestedTest.java fails while GreetingResourceNestedTest.java and GreetingResourceTest.java succeeds.

it is a problem of continous testing, works with ./mvnw test.

quarkus--provider-quarkus-not-installed's People

Watchers

Diego Ramp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.