aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-07-10 13:03:26 +0200
committerMicael Karlberg <[email protected]>2019-07-17 12:12:38 +0200
commit151c6bd2c9a374f3ac5dfd940993caa679cf5c17 (patch)
tree7b6a3beca8a2e81b1da40cc2c5aa5f46389a7a60 /erts
parentb76907abc160fdbb192e81f0a8dadde9455db9ea (diff)
downloadotp-151c6bd2c9a374f3ac5dfd940993caa679cf5c17.tar.gz
otp-151c6bd2c9a374f3ac5dfd940993caa679cf5c17.tar.bz2
otp-151c6bd2c9a374f3ac5dfd940993caa679cf5c17.zip
[esock|test] Add placeholder test case for socket option acceptfilter
OTP-15904
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/test/socket_SUITE.erl20
1 files changed, 19 insertions, 1 deletions
diff --git a/erts/emulator/test/socket_SUITE.erl b/erts/emulator/test/socket_SUITE.erl
index f15e4cde44..9bda605b02 100644
--- a/erts/emulator/test/socket_SUITE.erl
+++ b/erts/emulator/test/socket_SUITE.erl
@@ -122,6 +122,7 @@
api_opt_simple_otp_rcvbuf_option/1,
api_opt_simple_otp_controlling_process/1,
api_opt_sock_acceptconn/1,
+ api_opt_sock_acceptfilter/1,
api_opt_ip_add_drop_membership/1,
%% *** API Operation Timeout ***
@@ -781,7 +782,8 @@ api_options_otp_cases() ->
api_options_socket_cases() ->
[
- api_opt_sock_acceptconn
+ api_opt_sock_acceptconn,
+ api_opt_sock_acceptfilter
].
api_options_ip_cases() ->
@@ -8798,6 +8800,22 @@ api_opt_sock_acceptconn() ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Tests the socket option acceptfilter. PLACEHOLDER!
+
+api_opt_sock_acceptfilter(suite) ->
+ [];
+api_opt_sock_acceptfilter(doc) ->
+ [];
+api_opt_sock_acceptfilter(_Config) when is_list(_Config) ->
+ ?TT(?SECS(30)),
+ tc_try(api_opt_sock_acceptfilter,
+ fun() -> not_yet_implemented() end,
+ fun() -> ok end).
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%% Tests that the add_mambership and drop_membership ip options work.
%% We create one server and two clients. The server only send messages,
%% the clients only receives messages.