diff options
author | Micael Karlberg <[email protected]> | 2012-05-22 14:53:45 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-05-22 14:53:45 +0200 |
commit | 2c27a2e2a57d37df1f33f481dc0edbfd2cc83db3 (patch) | |
tree | ef2aa3df04f26a327976c0de7afa5622e7998ad3 /lib/inets/test/inets_test_lib.erl | |
parent | 76e98a93821a0e628a465030bfcb63fd360afc8a (diff) | |
download | otp-2c27a2e2a57d37df1f33f481dc0edbfd2cc83db3.tar.gz otp-2c27a2e2a57d37df1f33f481dc0edbfd2cc83db3.tar.bz2 otp-2c27a2e2a57d37df1f33f481dc0edbfd2cc83db3.zip |
[inets/httpc] Cancel request does not work
Cancel request does not work due to incorrect handler table creation
(wrong keypos).
OTP-10092
Diffstat (limited to 'lib/inets/test/inets_test_lib.erl')
-rw-r--r-- | lib/inets/test/inets_test_lib.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl index c94be796cd..7f4b0ec8d8 100644 --- a/lib/inets/test/inets_test_lib.erl +++ b/lib/inets/test/inets_test_lib.erl @@ -31,6 +31,7 @@ send/3, close/2]). -export([copy_file/3, copy_files/2, copy_dirs/2, del_dirs/1]). -export([info/4, log/4, debug/4, print/4]). +-export([timestamp/0, formated_timestamp/0]). -export([tsp/1, tsp/2, tsf/1, tss/1]). -export([check_body/1]). -export([millis/0, millis_diff/2, hours/1, minutes/1, seconds/1, sleep/1]). @@ -642,6 +643,9 @@ tsf(Reason) -> tss(Time) -> test_server:sleep(Time). +timestamp() -> + http_util:timestamp(). + formated_timestamp() -> format_timestamp( os:timestamp() ). |