diff --git a/bottlecap/tests/logs_integration_test.rs b/bottlecap/tests/logs_integration_test.rs index 4b6367c9a..d35b05277 100644 --- a/bottlecap/tests/logs_integration_test.rs +++ b/bottlecap/tests/logs_integration_test.rs @@ -22,7 +22,6 @@ async fn test_logs() { // protobuf is using hashmap, can't set a btreemap to have sorted keys. Using multiple regexp since // Can't do look around since -> error: look-around, including look-ahead and look-behind, is not supported let regexp_message = r#"[{"message":{"message":"START RequestId: 459921b5-681c-4a96-beb0-81e0aa586026 Version: $LATEST","lambda":{"arn":"test-arn","request_id":"459921b5-681c-4a96-beb0-81e0aa586026"},"timestamp":1666361103165,"status":"info"},"hostname":"test-arn","service":"","#; - let regexp_compute_state = r#"_dd.compute_stats:1"#; let regexp_arch = format!(r#"architecture:{}"#, arch); let regexp_function_arn = r#"function_arn:test-arn"#; let regexp_extension_version = r#"dd_extension_version"#; @@ -34,7 +33,6 @@ async fn test_logs() { .header("DD-API-KEY", dd_api_key) .header("Content-Type", "application/json") .body_contains(regexp_message) - .body_contains(regexp_compute_state) .body_contains(regexp_arch) .body_contains(regexp_function_arn) .body_contains(regexp_extension_version);