Skip to content

Commit d000685

Browse files
author
Mark
committed
fixed log tests
1 parent 98ab384 commit d000685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void getLogsUpto() {
284284
final LogEntity logs = arangoDB.getLogs(null);
285285
final LogEntity logsUpto = arangoDB.getLogs(new LogOptions().upto(LogLevel.WARNING));
286286
assertThat(logsUpto, is(notNullValue()));
287-
assertThat(logs.getTotalAmount(), greaterThan(logsUpto.getTotalAmount()));
287+
assertThat(logs.getTotalAmount() >= logsUpto.getTotalAmount(), is(true));
288288
assertThat(logsUpto.getLevel(), not(contains(LogLevel.INFO)));
289289
}
290290

@@ -294,7 +294,7 @@ public void getLogsLevel() {
294294
final LogEntity logs = arangoDB.getLogs(null);
295295
final LogEntity logsInfo = arangoDB.getLogs(new LogOptions().level(LogLevel.INFO));
296296
assertThat(logsInfo, is(notNullValue()));
297-
assertThat(logs.getTotalAmount(), greaterThan(logsInfo.getTotalAmount()));
297+
assertThat(logs.getTotalAmount() >= logsInfo.getTotalAmount(), is(true));
298298
assertThat(logsInfo.getLevel(), everyItem(is(LogLevel.INFO)));
299299
}
300300

0 commit comments

Comments
 (0)