8000 Fix Foxx queue test · arangodb/arangodb@7d6f146 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d6f146

Browse files
author
mpv1989
committed
Fix Foxx queue test
1 parent cf66414 commit 7d6f146

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/client/tests/authentication/user-access-right-foxx-queue-general-spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ describe('Foxx service', () => {
5555
});
5656

5757
afterEach(() => {
58+
waitForJob();
5859
download(`${arango.getEndpoint().replace('tcp://', 'http://')}/${mount}`, '', {
5960
method: 'delete'
6061
});
@@ -90,6 +91,7 @@ describe('Foxx service', () => {
9091
method: 'post'
9192
});
9293
expect(res.code).to.equal(204);
94+
waitForJob();
9395
res = download(`${arango.getEndpoint().replace('tcp://', 'http://')}/${mount}`, '', {
9496
method: 'post'
9597
});

0 commit comments

Comments
 (0)
0