testing: Reduce testing runtime by reusing SSH sessions.
By using the ControlMaster and ControlPath options, existing SSH sessions are reused (a session to each host is opened at the beginning of a test run). Also, RC4 is used as encryption algorithm to further improve the performance. These changes reduce the runtime by over 20%.
This commit is contained in:
@@ -87,6 +87,9 @@ UMLKERNEL=$BUILDDIR/linux-uml-$KERNELVERSION
|
||||
# Directory where test results will be stored
|
||||
TESTRESULTSDIR=$UMLTESTDIR/testresults
|
||||
|
||||
# SSH configuration (speedup SSH)
|
||||
SSHCONF="-F $UMLTESTDIR/testing/ssh_config"
|
||||
|
||||
# Path to a full strongswan tree on the host system, which is
|
||||
# mounted into /root/strongswan-shared. This gives us an easy
|
||||
# way to apply and test changes instantly.
|
||||
|
||||
Reference in New Issue
Block a user