From 9f577b0e6255240a32ec0debb28cb7638e4cd31a Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Thu, 18 Jul 2019 16:54:39 +0200 Subject: [esock|test] Add two placeholder test cases: error and linger Added two place holder test cases for the socket options error and linger. OTP-15904 --- erts/emulator/test/socket_SUITE.erl | 38 ++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'erts') diff --git a/erts/emulator/test/socket_SUITE.erl b/erts/emulator/test/socket_SUITE.erl index 91ce723afa..ed674eb335 100644 --- a/erts/emulator/test/socket_SUITE.erl +++ b/erts/emulator/test/socket_SUITE.erl @@ -128,7 +128,9 @@ api_opt_sock_debug/1, api_opt_sock_domain/1, api_opt_sock_dontroute/1, + api_opt_sock_error/1, api_opt_sock_keepalive/1, + api_opt_sock_linger/1, api_opt_ip_add_drop_membership/1, %% *** API Operation Timeout *** @@ -795,7 +797,9 @@ api_options_socket_cases() -> api_opt_sock_debug, api_opt_sock_domain, api_opt_sock_dontroute, - api_opt_sock_keepalive + api_opt_sock_error, + api_opt_sock_keepalive, + api_opt_sock_linger ]. api_options_ip_cases() -> @@ -9857,6 +9861,22 @@ api_opt_sock_dontroute() -> +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% Tests the socket option error. PLACEHOLDER! + +api_opt_sock_error(suite) -> + []; +api_opt_sock_error(doc) -> + []; +api_opt_sock_error(_Config) when is_list(_Config) -> + ?TT(?SECS(10)), + tc_try(api_opt_sock_error, + fun() -> not_yet_implemented() end, + fun() -> ok end). + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Tests the socket option keepalive. @@ -9985,6 +10005,22 @@ api_opt_sock_keepalive() -> +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% Tests the socket option linger. PLACEHOLDER! + +api_opt_sock_linger(suite) -> + []; +api_opt_sock_linger(doc) -> + []; +api_opt_sock_linger(_Config) when is_list(_Config) -> + ?TT(?SECS(10)), + tc_try(api_opt_sock_linger, + fun() -> not_yet_implemented() end, + fun() -> ok end). + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Tests that the add_mambership and drop_membership ip options work. -- cgit v1.2.3