-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
When I run, mvn test
on my reproducer I get the error Caused by: java.util.NoSuchElementException: SRCFG00027: Could not find a mapping for gr.DummyConfig
.
If I comment the @WithPlaywright
or delete the file quarkus-config-roots.list
which contains gr.DummyConfig
the tests do pass.
If I don't delete anything, but run each test individually, again they do pass.
It used to work on 3.21.1
but it's not working on 3.23.3
and 3.24.0.CR1
.
//@Unremovable
@ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED)
@ConfigMapping(prefix = "dummy")
public interface DummyConfig {
}
public class FastestTestProfile implements QuarkusTestProfile {
}
@QuarkusTest
@TestProfile(FastestTestProfile.class)
class DatabaseExecuteTest {
@Test
void shouldRun() {
}
}
@QuarkusTest
@TestProfile(FastestTestProfile.class)
@WithPlaywright(browserContext = @BrowserContextConfig(defaultTimeout = "PT2s", defaultNavigationTimeout = "PT2s"))
class ShouldExecuteTest {
@Test
void shouldRun() {
}
}