timeout added

dependabot/maven/io.reactivex.rxjava3-rxjava-3.1.10
Nikita Koksharov 2 months ago
parent 5d9a0fc1c7
commit abd7b5ee55

@ -2,6 +2,7 @@ package org.redisson;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
import org.redisson.api.*; import org.redisson.api.*;
@ -103,6 +104,7 @@ public class RedissonMapReduceTest extends RedisDockerTest {
@ParameterizedTest @ParameterizedTest
@MethodSource("mapClasses") @MethodSource("mapClasses")
@Timeout(5)
public void test(Class<?> mapClass) { public void test(Class<?> mapClass) {
RMap<String, String> map = getMap(mapClass); RMap<String, String> map = getMap(mapClass);

Loading…
Cancel
Save