diff options
author | Micael Karlberg <[email protected]> | 2019-05-15 14:54:59 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-05-29 13:47:40 +0200 |
commit | d6ffa270a5ab6cb1967d51a00108d2b4d8bca47f (patch) | |
tree | 5316776caae8502d1fb154407f1b3530e67612a6 | |
parent | 663a0735a1f18f1ea8e482946a98cf09f3424271 (diff) | |
download | otp-d6ffa270a5ab6cb1967d51a00108d2b4d8bca47f.tar.gz otp-d6ffa270a5ab6cb1967d51a00108d2b4d8bca47f.tar.bz2 otp-d6ffa270a5ab6cb1967d51a00108d2b4d8bca47f.zip |
[esock|test] Add ttest case (ssf/csf/l) work for local (stream)
Add ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: large
OTP-15822
-rw-r--r-- | erts/emulator/test/socket_SUITE.erl | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/erts/emulator/test/socket_SUITE.erl b/erts/emulator/test/socket_SUITE.erl index 8424f0c97b..d727a7996c 100644 --- a/erts/emulator/test/socket_SUITE.erl +++ b/erts/emulator/test/socket_SUITE.erl @@ -359,6 +359,7 @@ ttest_ssockf_csockf_medium_tcpL/1, ttest_ssockf_csockf_large_tcp4/1, ttest_ssockf_csockf_large_tcp6/1, + ttest_ssockf_csockf_large_tcpL/1, ttest_ssockf_csocko_small_tcp4/1, ttest_ssockf_csocko_small_tcp6/1, @@ -1208,7 +1209,8 @@ ttest_ssockf_csockf_cases() -> ttest_ssockf_csockf_medium_tcpL, ttest_ssockf_csockf_large_tcp4, - ttest_ssockf_csockf_large_tcp6 + ttest_ssockf_csockf_large_tcp6, + ttest_ssockf_csockf_large_tcpL ]. %% Server: transport = socket(tcp), active = false @@ -16439,6 +16441,30 @@ ttest_ssockf_csockf_large_tcp6(Config) when is_list(Config) -> %% This test case uses the time test (ttest) utility to implement a %% ping-pong like test case. %% Server: Transport = socket(tcp), Active = false +%% Client: Transport = socket(tcp), Active = false +%% Message Size: large (=3) +%% Domain: local +%% + +ttest_ssockf_csockf_large_tcpL(suite) -> + []; +ttest_ssockf_csockf_large_tcpL(doc) -> + []; +ttest_ssockf_csockf_large_tcpL(Config) when is_list(Config) -> + Runtime = which_ttest_runtime(Config), + ttest_tcp(ttest_ssockf_csockf_large_tcpL, + Runtime, + local, + sock, false, + sock, false, + 3, 2). + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% This test case uses the time test (ttest) utility to implement a +%% ping-pong like test case. +%% Server: Transport = socket(tcp), Active = false %% Client: Transport = socket(tcp), Active = once %% Message Size: small (=1) %% Domain: inet |