Skip to content

Commit 346ef5a

Browse files
author
Mark
committed
fixed test
1 parent 757ae85 commit 346ef5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,12 @@ public void getDatabases() {
9797
try {
9898
Collection<String> dbs = arangoDB.getDatabases();
9999
assertThat(dbs, is(notNullValue()));
100-
assertThat(dbs.size(), is(1));
100+
assertThat(dbs.size(), is(greaterThan(0)));
101+
final int dbCount = dbs.size();
101102
assertThat(dbs.iterator().next(), is("_system"));
102103
arangoDB.createDatabase(BaseTest.TEST_DB);
103104
dbs = arangoDB.getDatabases();
104-
assertThat(dbs.size(), is(2));
105+
assertThat(dbs.size(), is(greaterThan(dbCount)));
105106
assertThat(dbs, hasItem("_system"));
106107
assertThat(dbs, hasItem(BaseTest.TEST_DB));
107108
} finally {

0 commit comments

Comments
 (0)