Skip to content

Commit

Permalink
KAFKA-17524: Add timeout to StreamThreadTest (apache#17180)
Browse files Browse the repository at this point in the history
Adds a 30s default timeout to StreamThreadTest tests.

Reviewers: David Arthur <[email protected]>
  • Loading branch information
mjsax authored Sep 12, 2024
1 parent 300e825 commit b436499
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
Expand Down Expand Up @@ -172,6 +173,7 @@
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

@Timeout(300)
@ExtendWith(MockitoExtension.class)
@MockitoSettings(strictness = Strictness.STRICT_STUBS)
public class StreamThreadTest {
Expand Down

0 comments on commit b436499

Please sign in to comment.