mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-07-04 16:01:35 +00:00
test timeout spec
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { Fluence } from '@fluencelabs/fluence';
|
||||
import { parFunc, registerParService } from '../compiled/examples/par';
|
||||
import {parFunc, registerParService, testTimeout} from '../compiled/examples/par';
|
||||
import {config} from "../config";
|
||||
|
||||
export async function parCall() {
|
||||
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
||||
@ -21,3 +22,9 @@ export async function parCall() {
|
||||
|
||||
return promise;
|
||||
}
|
||||
|
||||
const relays = config.relays
|
||||
|
||||
export async function testTimeoutCall() {
|
||||
return testTimeout([relays[3].peerId, relays[4].peerId])
|
||||
}
|
||||
|
Reference in New Issue
Block a user