Skip to content

Commit

Permalink
>
Browse files Browse the repository at this point in the history
  • Loading branch information
nahsi committed Oct 31, 2023
1 parent 4f9fbdb commit 41d6a0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/fRPC.integration-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ async function testGateway(mode?: string, times = 6) {
id,
};
const response = await gateway.request(request);
console.log(request);
console.log(gateway.getStdout());
console.log(gateway.getStderr());
expect(response).toMatchObject({
jsonrpc: "2.0",
id,
Expand Down Expand Up @@ -169,7 +166,7 @@ describe("fRPC", () => {

const workersMatch = stderr.match(/(\d+)\s*workers/);
const workers =
workersMatch?.[1] ?? throwError("Failed to parse workers");
workersMatch?.[1] ?? throwError(`Failed to parse workers. stdout: ${stdout}, stderr: ${stderr}`);
const workersNum = parseInt(workers);

expect(workersNum).toBeGreaterThanOrEqual(3);
Expand Down

0 comments on commit 41d6a0c

Please sign in to comment.