mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-11 13:04:41 +00:00
chore: decrease delay on the peer-exchange tests (#1141)
* decrease timeouts for peer-exchange tests * reset dns test timeout
This commit is contained in:
parent
c0ca308502
commit
2a7d72be14
@ -28,7 +28,7 @@ describe("Peer Exchange", () => {
|
||||
});
|
||||
|
||||
it("Auto discovery", async function () {
|
||||
this.timeout(120_000);
|
||||
this.timeout(60_000);
|
||||
|
||||
waku = await createLightNode({
|
||||
libp2p: {
|
||||
@ -40,7 +40,8 @@ describe("Peer Exchange", () => {
|
||||
});
|
||||
|
||||
await waku.start();
|
||||
await delay(100000);
|
||||
// we want to ensure that there is enough time for discv5 to discover peers
|
||||
await delay(40000);
|
||||
|
||||
await waitForRemotePeer(waku, [Protocols.PeerExchange]);
|
||||
const pxPeers = await waku.peerExchange.peers();
|
||||
@ -48,7 +49,7 @@ describe("Peer Exchange", () => {
|
||||
});
|
||||
|
||||
it("Manual query on test fleet", async function () {
|
||||
this.timeout(150_000);
|
||||
this.timeout(60_000);
|
||||
|
||||
const waku = await createLightNode({
|
||||
libp2p: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user