77import org .junit .jupiter .params .ParameterizedTest ;
88import org .junit .jupiter .params .provider .Arguments ;
99import org .junit .jupiter .params .provider .MethodSource ;
10+ import resilience .TestUtils ;
1011import resilience .utils .MemoryAppender ;
1112
1213import javax .net .ssl .KeyManagerFactory ;
1617import java .util .stream .Stream ;
1718
1819import 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