Skip to content

Commit 7ea7806

Browse files
andreabadessoclaude
andcommitted
fix(daemon): add missing monitoring config keys to integration test mock
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f6118c2 commit 7ea7806

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/daemon/__tests__/integration/balances.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ getConfig.mockReturnValue({
9696
DB_PASS,
9797
DB_PORT,
9898
ACK_TIMEOUT_MS: 20000,
99+
IDLE_EVENT_TIMEOUT_MS: 5 * 60 * 1000,
100+
STUCK_PROCESSING_TIMEOUT_MS: 5 * 60 * 1000,
101+
RECONNECTION_STORM_THRESHOLD: 10,
102+
RECONNECTION_STORM_WINDOW_MS: 5 * 60 * 1000,
99103
});
100104

101105
let mysql: Connection;

packages/daemon/__tests__/integration/token_creation.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ getConfig.mockReturnValue({
5757
DB_PASS,
5858
DB_PORT,
5959
ACK_TIMEOUT_MS: 20000,
60+
IDLE_EVENT_TIMEOUT_MS: 5 * 60 * 1000,
61+
STUCK_PROCESSING_TIMEOUT_MS: 5 * 60 * 1000,
62+
RECONNECTION_STORM_THRESHOLD: 10,
63+
RECONNECTION_STORM_WINDOW_MS: 5 * 60 * 1000,
6064
});
6165

6266
let mysql: Connection;

0 commit comments

Comments
 (0)