mirror of https://github.com/waku-org/js-waku.git
disable tests connecting to test fleet on the CI (#1138)
This commit is contained in:
parent
f2f3cdc2a7
commit
380ba6987a
|
@ -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: [
|
||||||
|
|
Loading…
Reference in New Issue