disable tests connecting to test fleet on the CI (#1138)

This commit is contained in:
Danish Arora 2023-01-30 11:29:12 +05:30 committed by GitHub
parent f2f3cdc2a7
commit 380ba6987a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 6 deletions

View File

@ -14,6 +14,15 @@ import { delay } from "../src/delay.js";
describe("Peer Exchange", () => { describe("Peer Exchange", () => {
let waku: LightNode; let waku: LightNode;
before(async function () {
// skipping in CI as this test demonstrates Peer Exchange working with the test fleet
// but not with locally run nwaku nodes
if (process.env.CI) {
this.skip();
}
});
afterEach(async function () { afterEach(async function () {
!!waku && waku.stop().catch((e) => console.log("Waku failed to stop", e)); !!waku && waku.stop().catch((e) => console.log("Waku failed to stop", e));
}); });
@ -41,12 +50,6 @@ describe("Peer Exchange", () => {
it("Manual query on test fleet", async function () { it("Manual query on test fleet", async function () {
this.timeout(150_000); this.timeout(150_000);
// skipping in CI as this test demonstrates Peer Exchange working with the test fleet
// but not with locally run nwaku nodes
if (process.env.ci) {
this.skip();
}
const waku = await createLightNode({ const waku = await createLightNode({
libp2p: { libp2p: {
peerDiscovery: [ peerDiscovery: [