Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ConcurrentExecutionTest as it's unreliable #10445

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@

import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

import io.quarkus.scheduler.Scheduled;
import io.quarkus.test.QuarkusUnitTest;

@Disabled("The test is unreliable. Needs investigation.")
public class ConcurrentExecutionTest {

@RegisterExtension
Expand Down Expand Up @@ -46,7 +48,7 @@ void concurrent() {
void nonconcurrent() throws InterruptedException {
COUNTER.incrementAndGet();
if (!LATCH.await(5, TimeUnit.SECONDS)) {
throw new IllegalStateException("");
throw new IllegalStateException();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@

import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

import io.quarkus.scheduler.Scheduled;
import io.quarkus.test.QuarkusUnitTest;

@Disabled("The test is unreliable. Needs investigation.")
public class ConcurrentExecutionTest {

@RegisterExtension
Expand Down Expand Up @@ -46,7 +48,7 @@ void concurrent() {
void nonconcurrent() throws InterruptedException {
COUNTER.incrementAndGet();
if (!LATCH.await(5, TimeUnit.SECONDS)) {
throw new IllegalStateException("");
throw new IllegalStateException();
}
}
}
Expand Down