Skip to content

Commit

Permalink
temporarily ignore test case about coap.me
Browse files Browse the repository at this point in the history
  • Loading branch information
Covertness committed Nov 9, 2024
1 parent 49cd44c commit fb83108
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_get_url() {
let resp = UdpCoAPClient::get("coap://coap.me:5683/hello")
.await
Expand All @@ -1072,6 +1073,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_get() {
let domain = "coap.me";
let client = UdpCoAPClient::new_udp((domain, 5683)).await.unwrap();
Expand All @@ -1091,6 +1093,7 @@ mod test {
assert_eq!(resp.message.payload, b"world".to_vec());
}
#[tokio::test]
#[ignore]
async fn test_post_url() {
let resp = UdpCoAPClient::post("coap://coap.me:5683/validate", b"world".to_vec())
.await
Expand All @@ -1103,6 +1106,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_post() {
let domain = "coap.me";
let client = UdpCoAPClient::new_udp((domain, 5683)).await.unwrap();
Expand All @@ -1123,6 +1127,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_put_url() {
let resp = UdpCoAPClient::put("coap://coap.me:5683/create1", b"world".to_vec())
.await
Expand All @@ -1135,6 +1140,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_put() {
let domain = "coap.me";
let client = UdpCoAPClient::new_udp((domain, 5683)).await.unwrap();
Expand All @@ -1151,6 +1157,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_delete_url() {
let resp = UdpCoAPClient::delete("coap://coap.me:5683/validate")
.await
Expand All @@ -1163,6 +1170,7 @@ mod test {
}

#[tokio::test]
#[ignore]
async fn test_delete() {
let domain = "coap.me";
let client = UdpCoAPClient::new_udp((domain, 5683)).await.unwrap();
Expand Down Expand Up @@ -1208,6 +1216,7 @@ mod test {
client.send_all_coap(&request, 0).await.unwrap();
}
#[tokio::test]
#[ignore]
async fn test_change_block_option() {
// this test is a little finnicky because it relies on the configuration
// of the reception endpoint. It tries to send a payload larger than the
Expand Down

0 comments on commit fb83108

Please sign in to comment.