Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions bottlecap/tests/logs_integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"#;
Expand All @@ -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);
Expand Down
Loading