Skip to content

Commit

Permalink
added coments to max retries test
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscaOrtegaG committed Nov 16, 2023
1 parent f70755a commit d30bcc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolver/lookup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ mod async_resolver_test {

}

#[tokio::test]
#[tokio::test] //se cae, y debería caerse, pero se cae con todos los max retiries y no solo con 0
async fn lookup_stub_max_tries_0() {

let max_retries =0;
Expand Down Expand Up @@ -423,7 +423,7 @@ mod async_resolver_test {
assert!(answer.is_empty());
}

#[tokio::test]
#[tokio::test] //se cae
async fn poll_lookup_max_tries_0(){

let domain_name = DomainName::new_from_string("example.com".to_string());
Expand Down

0 comments on commit d30bcc9

Please sign in to comment.