These two tests
stress test the underlying network
over either the TCP or SPX transport portocol,
testing the datarecv and datasend features.
Both tests use multiple slave machines.
Processes are run simultaneously
on the master machine and on the slave machines:
-
The processes on the slave machines listen for a connection.
-
When a slave machine receives a connection request
from the process running on the master machine,
it accepts the connection
and starts transferring data
in packets of various, randomly-chosen sizes
to the master machine.
-
The master machine in turn
echoes the data back to the slave machine.
The tests pass if they run succesfully
without any errors for a fixed period of time,
specified by the STRESS_TIME configuration variable.