7
7
import org .junit .jupiter .params .ParameterizedTest ;
8
8
import org .junit .jupiter .params .provider .Arguments ;
9
9
import org .junit .jupiter .params .provider .MethodSource ;
10
+ import resilience .TestUtils ;
10
11
import resilience .utils .MemoryAppender ;
11
12
12
13
import javax .net .ssl .KeyManagerFactory ;
16
17
import java .util .stream .Stream ;
17
18
18
19
import static org .assertj .core .api .Assertions .assertThat ;
20
+ import static org .junit .jupiter .api .Assumptions .assumeTrue ;
19
21
20
- public class ProtocolTest {
22
+ public class ProtocolTest extends TestUtils {
21
23
private static final String SSL_TRUSTSTORE = "/example.truststore" ;
22
24
private static final String SSL_TRUSTSTORE_PASSWORD = "12345678" ;
23
25
@@ -44,6 +46,7 @@ static Stream<Arguments> args() {
44
46
@ ParameterizedTest
45
47
@ MethodSource ("args" )
46
48
void shouldUseConfiguredProtocol (Protocol p , String expectedLog ) {
49
+ assumeTrue (!p .equals (Protocol .VST ) || isLessThanVersion (3 , 12 ));
47
50
ArangoDB adb = new ArangoDB .Builder ()
48
51
.host ("localhost" , 8529 )
49
52
.password ("test" )
@@ -59,6 +62,7 @@ void shouldUseConfiguredProtocol(Protocol p, String expectedLog) {
59
62
@ ParameterizedTest
60
63
@ MethodSource ("args" )
61
64
void shouldUseConfiguredProtocolWithTLS (Protocol p , String expectedLog ) throws Exception {
65
+ assumeTrue (!p .equals (Protocol .VST ) || isLessThanVersion (3 , 12 ));
62
66
ArangoDB adb = new ArangoDB .Builder ()
63
67
.host ("localhost" , 8529 )
64
68
.password ("test" )
0 commit comments