aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
AgeCommit message (Collapse)Author
2019-07-08Merge branch 'rickard/test-fixes-20' into rickard/test-fixes-21Rickard Green
* rickard/test-fixes-20: Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08Fix unstable node_container_SUITE:magic_ref testRickard Green
2019-07-08Fix unstable node_container_SUITE:node_controller_refc testRickard Green
2019-07-08Fix unstable tests process_SUITE:no_priority_inversion{,2}Rickard Green
Sometimes processes have not had the time to spread from one scheduler. Force spread by using the undocumented 'scheduler' option.
2019-07-04[esock|test] Add conditional skip to debug test caseMicael Karlberg
The api_m_debug test case seems to trigger a gcc bug that causes a segfault on an ancient Fedora 16 VM (with gcc version 4.6.3-2). The simplest way to avoid this is to test for this specific (gcc) version... OTP-15817
2019-07-02Merge branch ↵Erlang/OTP
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint-22 * bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908: [esock|test] Add test case for IP add|drop membership [esock] socket:setopt add_membership fails with badarg
2019-07-02Merge branch 'sverker/system_info-procs-bug/ERL-979/OTP-15909' into maint-22Erlang/OTP
* sverker/system_info-procs-bug/ERL-979/OTP-15909: Fix fatal bug in erts_proc_sig_signal_size
2019-07-01[esock] Improve mulicast address selectionMicael Karlberg
We use the netstat program to find a multicast address. But that program write some stuff stderr which confused the code. Add an attempt to filter out anything comming on stderr. Also try to catch errors, end "translate" them into skip.
2019-06-27erts: Reduce test time for multi_load in valgrindLukas Larsson
The previous test amount could take up to 3 hours to finish!
2019-06-27erts: Make dump_SUITE:free_dump tc more robust to different systemsLukas Larsson
2019-06-27erts: Fix distr SUITE latency testcasesLukas Larsson
2019-06-27Merge branch ↵Micael Karlberg
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
2019-06-26[esock|test] Add (traffic) counter (udp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using sendmsg and recvmsg). One for IPv4 udp and one for unix-domain-socket stream (udp). OTP-15818
2019-06-26[esock|test] Add (traffic) counter (tcp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using sendmsg and recvmsg). One for IPv4 tcp and one for unix-domain-socket stream (tcp). OTP-15818
2019-06-26[esock|test] Add (traffic) counter (udp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using sendto and recvfrom). One for IPv4 udp and one for unix-domain-socket dgram (udp). OTP-15818
2019-06-26[esock|test] Add (traffic) counter (tcp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using send and recv). One for IPv4 tcp and one for unix-domain-socket stream (tcp). OTP-15818
2019-06-24Merge branch 'sverker/system_info-procs-bug/ERL-979/OTP-15909' into maintSverker Eriksson
* sverker/system_info-procs-bug/ERL-979/OTP-15909: Fix fatal bug in erts_proc_sig_signal_size
2019-06-24[esock|test] Add test case for debugMicael Karlberg
OTP-15817
2019-06-24[esock|test] Add test case for IP add|drop membershipMicael Karlberg
Add a simple test case that tests that its possible to perform socket:setopt(Socket, ip, [add|drop]_membership, MReq). OTP-15908
2019-06-19Fix fatal bug in erts_proc_sig_signal_sizeSverker Eriksson
called by erlang:process_info(memory) erlang:system_info(procs) crash dump break menu Will crash VM if process has a pending monitor DOWN signal in its queue.
2019-06-17Merge branch 'john/erts/fix-xxx_to_existing_atom-overflow/ERL-944/OTP-15819' ↵Erlang/OTP
into maint-22 * john/erts/fix-xxx_to_existing_atom-overflow/ERL-944/OTP-15819: erts: Fix buffer overflow in xxx_to_existing_atom
2019-06-14[esock,kernel] net -> prim_net and add (new) netMicael Karlberg
Renamed the current preloaded net module to prim_net and removed the deprecated functions (call, cast, ...). Introduce a "new" net module (in kernel) as an interface module to the (preloaded) prim_net. This one also contains the deprecated functions (call, cast, ...). OTP-15765
2019-06-14Merge branch 'bmk/erts/esock/20190528/pattern' into maintMicael Karlberg
2019-06-14[esock|test] Ensure only "real" IPv6 address'es are acceptedMicael Karlberg
When geting the local address, make sure we don't accept the loopback address.
2019-06-14Merge branch 'bmk/erts/esock/20190529/expose_select_to_the_caller/OTP-15731' ↵Micael Karlberg
into maint
2019-06-12Merge branch ↵Erlang/OTP
'sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865' into maint-22 * sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865: erts: Improve test of process_info(reductions) Revert "erts: Force process_info(reductions) as signal"
2019-06-10Merge branch ↵Sverker Eriksson
'sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865' into maint * sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865: erts: Improve test of process_info(reductions) Revert "erts: Force process_info(reductions) as signal"
2019-06-10erts: Improve test of process_info(reductions)Sverker Eriksson
to provoke case when the main lock is released during execution.
2019-06-04[esock] Post rebase cleanupMicael Karlberg
Rebase (on maint as of 20190529) resulted in a number of issues. Mostly in the (esock) test suite. OTP-15731
2019-05-29[esock|test] Fixed a ttest scriptMicael Karlberg
The script used the wrong variable for active (async).
2019-05-29[esock] Found and fixed some weirdness on darwinMicael Karlberg
Tests on Darwin Kernel Version 18.2.0 reveled some problems handling connect (on that platform). It seems that calling connect the second time is not needed (it results in eisconn), so we needed to handle that case, which we now do.
2019-05-29[esock] Connect can now also take a nowait TimeoutMicael Karlberg
Had forgot about the connect function. But it can now also handle the Timeout = nowait, maybe resulting in a select. Required some nif work also... OTP-15731
2019-05-29[esock|test] Attempt to create a ttest reportMicael Karlberg
Attempted to implement a common report function for the time test (ttest). Not complete.
2019-05-29[esock|test] Fixed async ttestMicael Karlberg
Updated the ttest test(s) to handle async properly. OTP-15731
2019-05-29[esock] Changed return value for a selected async callMicael Karlberg
The return value for an async call (Timeout = nowait) will now (normally) result in a {select, SelectInfo} instead (if a select was performed). OTP-15731
2019-05-29[esock|test] Add multi async recv and recvmsg TCP test case(s)Micael Karlberg
Add recv and recvmsg test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|test] Add multi async accept TCP test caseMicael Karlberg
Add accept test case testing the abort message received when "another" process closes a socket. Multiple accept(ors) for good measure.
2019-05-29[esock|test] Add multi async recvmsg UDP test caseMicael Karlberg
Add recvmsg test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|test] Add multi async recvfrom UDP test caseMicael Karlberg
Add recvfrom test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[socket|test] Add async to ttestMicael Karlberg
Make it possible for the tttest server to run with async.
2019-05-29[socket] Add recvmsg(nowait) cancel on tcp test caseMicael Karlberg
Add the recvmsg(nowait) cancel for tcp IPv4 test cases.
2019-05-29[socket] Add recv(nowait) cancel on tcp test caseMicael Karlberg
Add the recv(nowait) cancel for tcp IPv4 test cases.
2019-05-29[socket] Add accept(nowait) cancel test caseMicael Karlberg
Add the accept(nowait) cancel test cases. Also fixed some timetrap times.
2019-05-29[socket] Add recvmsg(nowait) cancel test caseMicael Karlberg
Add the recvmsg(nowait) cancel test cases.
2019-05-29[socket] Add cancel and the first recvfrom(nowait) cancel test caseMicael Karlberg
Add the (public) cancel function and the first of the cancel test cases (recvfrom(nowait)).
2019-05-29[socket] Add nowait test case (sendmsg and recvmsg tcp4)Micael Karlberg
Added test case api_a_sendmsg_and_recvmsg_tcp4.
2019-05-29[socket] Add nowait test case (send and recv tcp4)Micael Karlberg
Added test case api_a_send_and_recv_tcp4.
2019-05-29[socket] Add nowait test case (sendmsg and recvmsg udp4)Micael Karlberg
Added test case api_a_sendmsg_and_recvmsg_udp4.
2019-05-29[socket] First nowait test case (sendto and recvfrom udp4)Micael Karlberg
Added test case api_a_sendto_and_recvfrom_udp4. Also, fixed duplicate spec.
2019-05-29[esock|test] Add condition for running ping pong test caseMicael Karlberg
Add condition for running the large ping-pong sendmsg/recvmsg test case. Also add a limit to the path creation (max number of tries). OTP-15822