Skip to content

Commit 00741aa

Browse files
Copilotlalitbcijothomas
authored
chore: Fix MSRV compatibility by downgrading wiremock to 0.5.22 (#439)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: lalitb <[email protected]> Co-authored-by: Cijo Thomas <[email protected]>
1 parent 50de5db commit 00741aa

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

opentelemetry-exporter-geneva/geneva-uploader-ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ workspace = true
2626

2727
[dev-dependencies]
2828
otlp_builder = { path = "examples/otlp_builder" }
29-
wiremock = "0.6"
29+
wiremock = "=0.5.22"
3030
base64 = "0.22"
3131
chrono = "0.4"

opentelemetry-exporter-geneva/geneva-uploader-ffi/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

opentelemetry-exporter-geneva/geneva-uploader/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tokio = { version = "1", features = ["full"] }
3535
rcgen = "0.14"
3636
openssl = { version = "0.10", features = ["vendored"] }
3737
tempfile = "3.5"
38-
wiremock = "0.6"
38+
wiremock = "=0.5.22"
3939
futures = "0.3"
4040
num_cpus = "1.16"
4141
lz4_flex = { version = "0.11" }

stress/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ num_cpus = "1.15.0"
2626
num-format = "0.4.4"
2727
sysinfo = { version = "0.36", optional = true }
2828
tokio = { version = "1", features = ["full", "test-util"] }
29-
wiremock = "0.6"
29+
wiremock = "=0.5.22"
3030
futures = "0.3"
3131

3232
opentelemetry-appender-tracing = { version = "0.30", features= ["spec_unstable_logs_enabled"] }

0 commit comments

Comments
 (0)