Skip to content

Commit

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

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

#[tokio::test]
#[ignore]
async fn test_get() {
let domain = "coap.me";
let client = UdpCoAPClient::new_udp((domain, 5683)).await.unwrap();
Expand All @@ -1093,7 +1091,6 @@ 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 @@ -1106,7 +1103,6 @@ mod test {
}

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

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

#[tokio::test]
#[ignore]
async fn test_delete_url() {
let resp = UdpCoAPClient::delete("coap://coap.me:5683/validate")
.await
Expand All @@ -1170,7 +1163,6 @@ 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 @@ -1216,7 +1208,6 @@ 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 158b690

Please sign in to comment.