Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@

// Write config file.
const configPath = path.join(dataDir, "fila.toml");
let config = `[server]\nlisten_addr = "${addr}"\n`;
let config = `[fibp]\nlisten_addr = "${addr}"\n`;
if (opts?.extraConfig) {
config += opts.extraConfig + "\n";
}
Expand Down Expand Up @@ -180,7 +180,7 @@
fs.rmSync(dataDir, { recursive: true, force: true });
const detail = stderrBuf ? `\nServer stderr:\n${stderrBuf.slice(0, 2000)}` : "";
const probeDetail = lastErr ? `\nLast probe error: ${lastErr}` : "";
throw new Error(`fila-server failed to start within 20s on ${addr}${detail}${probeDetail}`);

Check failure on line 183 in test/helpers.ts

View workflow job for this annotation

GitHub Actions / test

test/client.test.ts > Client

Error: fila-server failed to start within 20s on 127.0.0.1:42619 Last probe error: Error: no such type: fila.v1.ListQueuesRequest ❯ startTestServer test/helpers.ts:183:11 ❯ test/client.test.ts:14:14

Check failure on line 183 in test/helpers.ts

View workflow job for this annotation

GitHub Actions / test

test/batch.test.ts > Enqueue operations

Error: fila-server failed to start within 20s on 127.0.0.1:40461 Last probe error: Error: no such type: fila.v1.ListQueuesRequest ❯ startTestServer test/helpers.ts:183:11 ❯ test/batch.test.ts:14:14

Check failure on line 183 in test/helpers.ts

View workflow job for this annotation

GitHub Actions / test

test/auth.test.ts > TLS + API key auth > mTLS + API key

Error: fila-server failed to start within 20s on 127.0.0.1:37727 Server stderr: thread 'main' (2711) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-0.23.37/src/crypto/mod.rs:249:14: Could not automatically determine the process-level CryptoProvider from Rustls crate features. Call CryptoProvider::install_default() before this point to select a provider manually, or make sure exactly one of the 'aws-lc-rs' and 'ring' features is enabled. See the documentation of the CryptoProvider type for more information. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Last probe error: Error: connect ECONNREFUSED 127.0.0.1:37727 ❯ startTestServer test/helpers.ts:183:11 ❯ test/auth.test.ts:155:16

Check failure on line 183 in test/helpers.ts

View workflow job for this annotation

GitHub Actions / test

test/auth.test.ts > TLS + API key auth > TLS (server-only)

Error: fila-server failed to start within 20s on 127.0.0.1:39797 Server stderr: thread 'main' (2682) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-0.23.37/src/crypto/mod.rs:249:14: Could not automatically determine the process-level CryptoProvider from Rustls crate features. Call CryptoProvider::install_default() before this point to select a provider manually, or make sure exactly one of the 'aws-lc-rs' and 'ring' features is enabled. See the documentation of the CryptoProvider type for more information. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Last probe error: Error: connect ECONNREFUSED 127.0.0.1:39797 ❯ startTestServer test/helpers.ts:183:11 ❯ test/auth.test.ts:100:16

Check failure on line 183 in test/helpers.ts

View workflow job for this annotation

GitHub Actions / test

test/auth.test.ts > TLS + API key auth > API key authentication (no TLS)

Error: fila-server failed to start within 20s on 127.0.0.1:45083 Last probe error: RPCError: rpc error (code = 26990): lid or missing api key ❯ startTestServer test/helpers.ts:183:11 ❯ test/auth.test.ts:20:16
}

// Persistent admin connection.
Expand Down
Loading