1
0
Fork 0

increase timeout (#3859)

This commit is contained in:
Jan 2017-12-01 10:04:35 +01:00 committed by GitHub
parent c4628842ec
commit 7c5faa85ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ describe('Readonly mode api', function() {
after(function() {
// wait 5 seconds so the "default" server mode has a chance to be picked up by all db servers
// before we go on with other tests
require("internal").wait(5, false);
internal.wait(5, false);
});
it('outputs its current mode', function() {
@ -105,7 +105,7 @@ describe('Readonly mode api', function() {
});
expect(resp.code).to.equal(200);
// heartbeat thread will take some time
internal.wait(0.5);
internal.wait(5, false);
let res = instanceInfo.arangods.filter(arangod => arangod.role === 'single' || arangod.role === 'coordinator' || arangod.role === 'primary')
.every(arangod => {