Add integration test for connections
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
added 7 commits
-
2aea4992...f84fdac4 - 4 commits from branch
release
- d1a74f9f - Merge branch 'release' of git.xx.network:elixxir/integration into feature/XX-3958/ConnectionCLI
- 9fd87631 - Update golds for connection CLI
- 10cac249 - Add comment divisors in run.sh
Toggle commit list-
2aea4992...f84fdac4 - 4 commits from branch
850 897 eval $CLIENTCMD >> $CLIENTOUT/client31.txt || true & 851 898 PIDVAL=$! 852 899 echo "$CLIENTCMD -- $PIDVAL" 853 CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client13.log -s blob13 --destfile $CLIENTOUT/josh31.bin --sendCount 5 --receiveCount 5 -m \"Hello from Josh13, with E2E Encryption\"" 900 CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client13.log -s blob13 --destfiledestfiledestfile $CLIENTOUT/josh31.bin --sendCount 5 --receiveCount 5 -m \"Hello from Josh13, with E2E Encryption\"" changed this line in version 4 of the diff
1107 1161 wait $PIDVAL2 1108 1162 1109 1163 echo "FILE TRANSFER FINISHED..." 1164 1165 ############################################################################### 1166 # Test connections 1167 ############################################################################### 1168 1169 echo "TESTING CONNECTIONS..." 1170 # Initiate server 1171 CLIENTCMD="timeout 240s ../bin/client connection -s blob200 $CONNECTIONOPTS --writeContact $CLIENTOUT/client200-server.bin -l $CLIENTOUT/client200.log --startServer --serverTimeout 2m" I really do wish that connections operated like netcat instead of like a client cli. Specifically, server side and client operate on stdio. Client exits when it sees EOF and sends a signal to server. Server exits when it receives a SIGKILL.
This is good for now though we are illustrating the concept well.
changed this line in version 5 of the diff
added 1 commit
- 4de88e51 - Use ephemeral initialization flag for connection tests
mentioned in commit c2374883
Please register or sign in to reply