Skip to content

Testing Troubleshooting

1. Integration Tests Failing with “connection refused”

Section titled “1. Integration Tests Failing with “connection refused””

Cause: Mock plugin server not starting or port conflict. Fix: Ensure no other process is using the test ports. Tests use dynamic ports where possible.

Cause: finfocus binary not found. Fix: Run make build before running E2E tests.

Cause: System load. Fix: Run benchmarks on a quiet system. Use benchstat to compare results.

Cause: Log output mixing with stdout. Fix: Use CLIHelper which disables logging during test execution.