Skip to content

Commit

Permalink
Repeat the @test annotation, otherwise @disabled is ignored.
Browse files Browse the repository at this point in the history
this is a change in behavior of Junit.
  • Loading branch information
cescoffier committed Dec 4, 2023
1 parent 59d6a08 commit fd75ef5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.hibernate.id.enhanced.NoopOptimizer;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

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

@Override
@Test
@Disabled("The 'none' optimizer will produce a different stream of IDs (1 then 51 then 101 then ...)")
public void ids(UniAsserter asserter) {
super.ids(asserter);
Expand Down

0 comments on commit fd75ef5

Please sign in to comment.