Compare commits
No commits in common. "e0e3e507862560e133336a90828c5a42026f7641" and "e889b56378ad4ac0a42727644a8eaf7cc3440d6f" have entirely different histories.
e0e3e50786
...
e889b56378
@ -132,7 +132,7 @@ async fn test_cycle() {
|
|||||||
])),
|
])),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Issue the GET /foo to the server and verify it returns a 200.
|
// Issue multiple GET /foo to the server and verify it alternates between 200 and 404 codes.
|
||||||
let client = hyper::Client::new();
|
let client = hyper::Client::new();
|
||||||
let resp = read_response_body(client.get(server.url("/foo")).await.unwrap()).await;
|
let resp = read_response_body(client.get(server.url("/foo")).await.unwrap()).await;
|
||||||
assert!(response::status_code(eq(200)).matches(&resp));
|
assert!(response::status_code(eq(200)).matches(&resp));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user