Skip to content

Commit fd35a0e

Browse files
committed
fixed resilience tests
1 parent 5b58b44 commit fd35a0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

resilience-tests/src/test/java/resilience/protocol/ProtocolTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.junit.jupiter.params.ParameterizedTest;
88
import org.junit.jupiter.params.provider.Arguments;
99
import org.junit.jupiter.params.provider.MethodSource;
10+
import resilience.TestUtils;
1011
import resilience.utils.MemoryAppender;
1112

1213
import javax.net.ssl.KeyManagerFactory;
@@ -16,8 +17,9 @@
1617
import java.util.stream.Stream;
1718

1819
import static org.assertj.core.api.Assertions.assertThat;
20+
import static org.junit.jupiter.api.Assumptions.assumeTrue;
1921

20-
public class ProtocolTest {
22+
public class ProtocolTest extends TestUtils {
2123
private static final String SSL_TRUSTSTORE = "/example.truststore";
2224
private static final String SSL_TRUSTSTORE_PASSWORD = "12345678";
2325

@@ -44,6 +46,7 @@ static Stream<Arguments> args() {
4446
@ParameterizedTest
4547
@MethodSource("args")
4648
void shouldUseConfiguredProtocol(Protocol p, String expectedLog) {
49+
assumeTrue(!p.equals(Protocol.VST) || isLessThanVersion(3, 12));
4750
ArangoDB adb = new ArangoDB.Builder()
4851
.host("localhost", 8529)
4952
.password("test")
@@ -59,6 +62,7 @@ void shouldUseConfiguredProtocol(Protocol p, String expectedLog) {
5962
@ParameterizedTest
6063
@MethodSource("args")
6164
void shouldUseConfiguredProtocolWithTLS(Protocol p, String expectedLog) throws Exception {
65+
assumeTrue(!p.equals(Protocol.VST) || isLessThanVersion(3, 12));
6266
ArangoDB adb = new ArangoDB.Builder()
6367
.host("localhost", 8529)
6468
.password("test")

0 commit comments

Comments
 (0)