Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit f6f55ef

Browse files
committed
[[ Tests ]] Increase socket timeout in liburl status codes test
This patch prevents a test failure in the liburl status codes test by increasing the socket timeout to 60 seconds, as the server used may take longer than 10 seconds to respond.
1 parent 5a1a1d8 commit f6f55ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lcs/liburl/status_codes.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ end TestSetup
1616

1717
on TestStatusCodes
1818
# Response Code 204
19-
set the socketTimeoutInterval to 10000
19+
set the socketTimeoutInterval to 60000
2020
put the milliseconds into tStartTime
2121
put URL "http://httpstat.us/204" into tData
2222
TestAssert "no error is reported", the result is empty
23-
TestAssert "response is not delayed until socket timeout", the milliseconds - tStartTime < 9000
23+
TestAssert "response is not delayed until socket timeout", the milliseconds - tStartTime < 59000
2424
TestAssert "data is empty", tData is empty
2525
end TestStatusCodes

0 commit comments

Comments
 (0)