Age | Commit message (Collapse) | Author |
|
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
|
|
OTP-15822
|
|
Some (Unix Domain socket) test cases fails because the
path (supposedly) already existed on a (admittedly old) gento VM.
So, we try enen harder to ensure that the path is unique...
OTP-15822
|
|
Incorrect host condition test for linux (the api timeout connect
test cases).
OTP-15822
|
|
On OpenIndiana Hipster on a Unix Domain stream socket it
may be possible to set a *large* recv buffer size, that will
actually not work. So, to avoid issues, simply skip the
traffic_ping_pong_large_send_and_recv_tcpL on that platform.
OTP-15822
|
|
On some platforms, e.g. FreeBSD, recvmsg does *not* return address
for a Unix Domain (stream) socket. Unlike, for instance, on Linux.
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = true
Client: socket with active = true
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = true
Client: socket with active = once
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = true
Client: socket with active = false
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = true
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = once
Message Size: small, medium and large
Also added server path cleanup when closing.
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = false
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = true
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = once
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: large
OTP-15822
|
|
Add ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: medium
OTP-15822
|
|
Add the first *working* ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: small
OTP-15822
|
|
Wrapped unlinking of path (for Unix Domain sockets) in a
utility function.
OTP-15822
|
|
Add a sendmsg and recvmsg small ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg small ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg large ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg medium ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg small ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a sendto and recvfrom medium ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a sendto and recvfrom small ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a (plain) send and recv large ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a (plain) send and recv medium ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a (plain) send and recv small ping-pong test case for
Unix Domain (stream) socket.
Also fixed minor bug in setopt for level 'otp' and option
rcvbuf. Could not be changed if unix domain (stream) socket (local).
OTP-15822
|
|
Add simple (plain) send and recv chunks test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add remote shutdown(write) recvmsg response test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add remote shutdown(write) recv response test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add remote close recvmsg response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add remote close recv response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add local close accept response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add local close recvmsg response test case for Unix Domain
(dgram) socket.
OTP-15822
|
|
Add local close recvfrom response test case for Unix Domain
(dgram) socket.
OTP-15822
|
|
Add local close recvmsg response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add local close recv response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add controlling process exit test case for Unix Domain
(stream and dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg test case for a unix domain (dgram) socket.
OTP-15822
|
|
Add a sendto and recvfrom test case for a unix domain (dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg test case for a unix domain (stream) socket.
Found and fixed a bug for the return value for the address field
for family 'local' (encoded as 'inet').
OTP-15822
|
|
Add a plain send and recv test case for a unix domain (stream) socket.
OTP-15822
|
|
Corrected various issues and added missing stuff.
Default protocol is now indicated with the atom 'default'
instead of the atom 'null'. Also let the underlying OS
decide what protocol is actually the default protocol.
OTP-15822
|
|
|
|
1) Improved time calculations
When measuring the time something takes,
use monitonic time instead (of os:timestamp()).
2) Make sure we do not hang when the node start
hangs. We start new (slave) nodes via a starter process.
The point of that is that it can be killed when it
takes to long.
|
|
When an evaluator skips (issue a exit or throw skip),
we must make sure all the other also terminates, before
the TC can end.
This was not done which cause the TC to fail when one
of the other evaluators (tester) terminated later.
|
|
|
|
|
|
Make use of the new select functions; enif_select_[read|write],
for read and write select. These functions allows us to construct
the select message ourseves:
{'$socket', Socket, select, Ref}
This is in preparations for when we introduce the 'nowait'
(or something similar) value for the timeout argument (in accept,
read and write funcions).
It also solves (we hope) the term leakage problems (it was difficult
to free the environment when there was only one/socket).
OTP-15496
|