Skip to content

Commit

Permalink
Fix TestAccessControl execution
Browse files Browse the repository at this point in the history
The test must run single-threaded and was run like that until
9a7cf10.
  • Loading branch information
findepi committed Dec 21, 2023
1 parent 40117ea commit f60f814
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
import io.trino.testing.TestingGroupProvider;
import io.trino.testing.TestingSession;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Execution;

import java.lang.invoke.MethodHandles;
import java.time.Duration;
Expand Down Expand Up @@ -118,7 +119,9 @@
import static java.util.stream.Collectors.toList;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.jupiter.api.parallel.ExecutionMode.SAME_THREAD;

@Execution(SAME_THREAD)
public class TestAccessControl
extends AbstractTestQueryFramework
{
Expand Down

0 comments on commit f60f814

Please sign in to comment.