We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af6662 commit 04db3b5Copy full SHA for 04db3b5
driver/src/test/java/com/arangodb/ArangoDBTest.java
@@ -404,9 +404,11 @@ void executeGetVersion(ArangoDB arangoDB) {
404
JsonNode body = SerdeUtils.INSTANCE.parseJson(response.getBody().getValue());
405
assertThat(body.get("version").isTextual()).isTrue();
406
assertThat(body.get("details").isObject()).isTrue();
407
- String header = response.getHeaders().get("x-arango-queue-time-seconds");
408
- assertThat(header).isNotNull();
409
assertThat(response.getResponseCode()).isEqualTo(200);
+ if (isAtLeastVersion(3, 9)) {
+ String header = response.getHeaders().get("x-arango-queue-time-seconds");
410
+ assertThat(header).isNotNull();
411
+ }
412
}
413
414
@ParameterizedTest(name = "{index}")
0 commit comments