From 1fa345aa5e94c8a9ca2bc1517799b924098b9dc5 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 10 Jun 2025 16:18:07 +0200 Subject: [PATCH] test(rust): adapt response from Cloudflare proxy (#9498) It appears that Cloudflare changed the response that it is sending for the 1.1.1.1 IP so we need to adapt our integration test for packet loops in order to make CI pass. --- rust/bin-shared/tests/no_packet_loops_tcp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/bin-shared/tests/no_packet_loops_tcp.rs b/rust/bin-shared/tests/no_packet_loops_tcp.rs index 2ac658281..f00a134fc 100644 --- a/rust/bin-shared/tests/no_packet_loops_tcp.rs +++ b/rust/bin-shared/tests/no_packet_loops_tcp.rs @@ -39,6 +39,6 @@ async fn no_packet_loops_tcp() { let s = String::from_utf8(bytes).unwrap(); assert_eq!( s, - "\r\n400 Bad Request\r\n\r\n

400 Bad Request

\r\n
cloudflare
\r\n\r\n\r\n" + "Cloudflare encountered an error processing this request: Bad Request" ); }