Skip to content

Commit 992f601

Browse files
committed
Repeat the @test annotation, otherwise @disabled is ignored.
this is a change in behavior of Junit.
1 parent b73007f commit 992f601

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/hibernate-reactive/deployment/src/test/java/io/quarkus/hibernate/reactive/mapping/id/optimizer/optimizer/IdOptimizerDefaultNoneTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import org.hibernate.id.enhanced.NoopOptimizer;
44
import org.junit.jupiter.api.Disabled;
5+
import org.junit.jupiter.api.Test;
56
import org.junit.jupiter.api.extension.RegisterExtension;
67

78
import io.quarkus.hibernate.reactive.SchemaUtil;
@@ -22,6 +23,7 @@ public class IdOptimizerDefaultNoneTest extends AbstractIdOptimizerDefaultTest {
2223
.overrideConfigKey("quarkus.hibernate-orm.mapping.id.optimizer.default", "none");
2324

2425
@Override
26+
@Test
2527
@Disabled("The 'none' optimizer will produce a different stream of IDs (1 then 51 then 101 then ...)")
2628
public void ids(UniAsserter asserter) {
2729
super.ids(asserter);

0 commit comments

Comments
 (0)