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 Nov 30, 2023
1 parent 92b7208 commit 3a6d11d
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 3a6d11d

Please sign in to comment.