File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
opentelemetry-exporter-geneva Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ workspace = true
2626
2727[dev-dependencies ]
2828otlp_builder = { path = " examples/otlp_builder" }
29- wiremock = " 0.6 "
29+ wiremock = " =0.5.22 "
3030base64 = " 0.22"
3131chrono = " 0.4"
Original file line number Diff line number Diff line change @@ -828,6 +828,7 @@ mod tests {
828828 // and each batch upload hits ingestion with the corresponding event query param.
829829 #[ test]
830830 fn test_encode_batching_by_event_name_and_upload ( ) {
831+ use wiremock:: http:: Method ;
831832 use wiremock:: matchers:: method;
832833 use wiremock:: { Mock , MockServer , ResponseTemplate } ;
833834
@@ -945,7 +946,7 @@ mod tests {
945946 let reqs = mock_server. received_requests ( ) . await . unwrap ( ) ;
946947 let posts: Vec < String > = reqs
947948 . iter ( )
948- . filter ( |r| r. method . as_str ( ) == "POST" )
949+ . filter ( |r| r. method == Method :: Post )
949950 . map ( |r| r. url . to_string ( ) )
950951 . collect ( ) ;
951952
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ tokio = { version = "1", features = ["full"] }
3535rcgen = " 0.14"
3636openssl = { version = " 0.10" , features = [" vendored" ] }
3737tempfile = " 3.5"
38- wiremock = " 0.6 "
38+ wiremock = " =0.5.22 "
3939futures = " 0.3"
4040num_cpus = " 1.16"
4141lz4_flex = { version = " 0.11" }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ num_cpus = "1.15.0"
2626num-format = " 0.4.4"
2727sysinfo = { version = " 0.36" , optional = true }
2828tokio = { version = " 1" , features = [" full" , " test-util" ] }
29- wiremock = " 0.6 "
29+ wiremock = " =0.5.22 "
3030futures = " 0.3"
3131
3232opentelemetry-appender-tracing = { version = " 0.30" , features = [" spec_unstable_logs_enabled" ] }
You can’t perform that action at this time.
0 commit comments