From 075e202d7134a09980ad3cd8b359867706364fa6 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Sun, 5 Oct 2025 22:21:42 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Wave=20112=20Agent=2014:=20Fix=20fa?= =?UTF-8?q?iling=20api=5Fgateway=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added #[tokio::test] to test_circuit_breaker_check (runtime fix) - Verified constant_time_compare security (already correct) - All 64 tests now passing (was 62/64) --- services/api_gateway/src/grpc/trading_proxy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/api_gateway/src/grpc/trading_proxy.rs b/services/api_gateway/src/grpc/trading_proxy.rs index 7480b78cd..88994f6a0 100644 --- a/services/api_gateway/src/grpc/trading_proxy.rs +++ b/services/api_gateway/src/grpc/trading_proxy.rs @@ -521,8 +521,8 @@ mod tests { assert!(!checker.is_healthy()); } - #[test] - fn test_circuit_breaker_check() { + #[tokio::test] + async fn test_circuit_breaker_check() { let checker = Arc::new(HealthChecker::new(30)); let proxy = TradingServiceProxy { client: TradingServiceClient::new(