File tree 2 files changed +6
-1
lines changed
driver/src/test/java/perf
http/src/main/java/com/arangodb/http
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 21
21
package perf ;
22
22
23
23
import com .arangodb .ArangoDB ;
24
+ import com .arangodb .BaseJunit5 ;
24
25
import com .arangodb .Protocol ;
25
26
import org .junit .jupiter .api .Disabled ;
26
27
import org .junit .jupiter .params .ParameterizedTest ;
27
28
import org .junit .jupiter .params .provider .EnumSource ;
28
29
29
30
import java .util .Date ;
30
31
32
+ import static org .junit .jupiter .api .Assumptions .assumeTrue ;
33
+
31
34
/**
32
35
* @author Michele Rastelli
33
36
*/
@@ -44,6 +47,8 @@ private void doGetVersion(ArangoDB arangoDB) {
44
47
@ ParameterizedTest
45
48
@ EnumSource (Protocol .class )
46
49
void getVersion (Protocol protocol ) throws InterruptedException {
50
+ assumeTrue (!protocol .equals (Protocol .VST ) || BaseJunit5 .isLessThanVersion (3 , 12 ));
51
+
47
52
ArangoDB arangoDB = new ArangoDB .Builder ()
48
53
.host ("172.28.0.1" , 8529 )
49
54
.password ("test" )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public class HttpConnectionFactory implements ConnectionFactory {
40
40
private final Vertx vertx ;
41
41
private final boolean manageVertx ;
42
42
43
- public HttpConnectionFactory (final ArangoConfig config ) {
43
+ public HttpConnectionFactory (@ UnstableApi final ArangoConfig config ) {
44
44
Optional <Vertx > existingVertx = Optional .ofNullable (Vertx .currentContext ()).map (Context ::owner );
45
45
if (config .getReuseVertx () && existingVertx .isPresent ()) {
46
46
LOGGER .info ("Reusing existing Vert.x instance" );
You can’t perform that action at this time.
0 commit comments