Skip to content

Commit 04db3b5

Browse files
committed
fixed 3.8 tests
1 parent 3af6662 commit 04db3b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

driver/src/test/java/com/arangodb/ArangoDBTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,11 @@ void executeGetVersion(ArangoDB arangoDB) {
404404
JsonNode body = SerdeUtils.INSTANCE.parseJson(response.getBody().getValue());
405405
assertThat(body.get("version").isTextual()).isTrue();
406406
assertThat(body.get("details").isObject()).isTrue();
407-
String header = response.getHeaders().get("x-arango-queue-time-seconds");
408-
assertThat(header).isNotNull();
409407
assertThat(response.getResponseCode()).isEqualTo(200);
408+
if (isAtLeastVersion(3, 9)) {
409+
String header = response.getHeaders().get("x-arango-queue-time-seconds");
410+
assertThat(header).isNotNull();
411+
}
410412
}
411413

412414
@ParameterizedTest(name = "{index}")

0 commit comments

Comments
 (0)