Skip to content

Commit bd61124

Browse files
author
mpv1989
committed
fixed tests
1 parent 35c1867 commit bd61124

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/com/arangodb/internal/velocystream/CommunicationTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public void chunkSizeSmall() {
5454
@Test
5555
public void multiThread() throws Exception {
5656
final ArangoDB arangoDB = new ArangoDB.Builder().build();
57+
arangoDB.getVersion();// authentication
5758

5859
final Collection<String> result = new ConcurrentLinkedQueue<String>();
5960
final Thread fast = new Thread() {
@@ -92,6 +93,7 @@ public void run() {
9293
@Test
9394
public void multiThreadSameDatabases() throws Exception {
9495
final ArangoDB arangoDB = new ArangoDB.Builder().build();
96+
arangoDB.getVersion();// authentication
9597

9698
final ArangoDatabase db = arangoDB.db();
9799

@@ -128,6 +130,7 @@ public void run() {
128130
@Test
129131
public void multiThreadMultiDatabases() throws Exception {
130132
final ArangoDB arangoDB = new ArangoDB.Builder().build();
133+
arangoDB.getVersion();// authentication
131134

132135
try {
133136
arangoDB.createDatabase("db1");

0 commit comments

Comments
 (0)