Skip to content

Commit

Permalink
[tests] comment about timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
haf committed Aug 22, 2016
1 parent 5ffe9e8 commit 6e2f833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HttpFs.IntegrationTests/NancyFxTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ type ``Integration tests`` ()=
|> run
response.body.Close ()

[<Test; Ignore "exception not thrown on Mono - investigate">]
[<Test; Ignore "will be replaced w/ timeout on Alts">]
/// Timeout follows .Net behaviour and throws WebException exception when reached.
/// https://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout%28v=vs.110%29.aspx
member x.``if the resource is not returned within Timeout, throw WebException`` () =
Expand Down
1 change: 1 addition & 0 deletions HttpFs/HttpFs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,7 @@ module Client =
let keepAlive value request =
{ request with keepAlive = value }

/// TODO: use as filter instead (composition)
let timeout timeout request =
{ request with timeout = timeout }

Expand Down

0 comments on commit 6e2f833

Please sign in to comment.