mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-25 16:22:24 +00:00
increase timeouts
This commit is contained in:
parent
0088d9f153
commit
b9cef0f8f9
@ -175,7 +175,7 @@ describe('Testing examples', () => {
|
|||||||
it('foldJoin.aqua', async () => {
|
it('foldJoin.aqua', async () => {
|
||||||
let foldJoinResult = await foldJoinCall();
|
let foldJoinResult = await foldJoinCall();
|
||||||
expect(foldJoinResult.length).toBeGreaterThanOrEqual(3)
|
expect(foldJoinResult.length).toBeGreaterThanOrEqual(3)
|
||||||
});
|
}, 16000);
|
||||||
|
|
||||||
it('option.aqua', async () => {
|
it('option.aqua', async () => {
|
||||||
registerHandlers();
|
registerHandlers();
|
||||||
@ -192,7 +192,7 @@ describe('Testing examples', () => {
|
|||||||
expect(res1).toEqual(res2);
|
expect(res1).toEqual(res2);
|
||||||
expect(res2).toEqual(res3);
|
expect(res2).toEqual(res3);
|
||||||
expect(res3).toEqual(res4);
|
expect(res3).toEqual(res4);
|
||||||
});
|
}, 16000);
|
||||||
|
|
||||||
it('nestedFuncs.aqua', async () => {
|
it('nestedFuncs.aqua', async () => {
|
||||||
let nestedFuncsResult = await nestedFuncsCall();
|
let nestedFuncsResult = await nestedFuncsCall();
|
||||||
|
@ -3,5 +3,5 @@ import { getTwoResults } from '../compiled/examples/foldJoin';
|
|||||||
|
|
||||||
export async function foldJoinCall(): Promise<number[]> {
|
export async function foldJoinCall(): Promise<number[]> {
|
||||||
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
||||||
return await getTwoResults(relayPeerId);
|
return await getTwoResults(relayPeerId, {ttl: 16000});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user