Skip to content

Commit

Permalink
Fixing of connections_and_errors::cancel_with_error test which someti…
Browse files Browse the repository at this point in the history
…mes fires false positive error "There are no pending calls to next_request." (#1196)
  • Loading branch information
miherius authored and BillyONeal committed Aug 23, 2019
1 parent f7065f4 commit 2a8c17e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,9 @@ SUITE(connections_and_errors)
test_http_server::scoped_server server(m_uri);
pplx::cancellation_token_source source;

const auto r = server.server()->next_request();
responseTask = c.request(methods::GET, U("/"), source.get_token());
r.wait();
source.cancel();
}

Expand Down

0 comments on commit 2a8c17e

Please sign in to comment.