Skip to content
Snippets Groups Projects
Commit c867fd75 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add test for removing a user from user discovery

parent 5b735718
No related branches found
No related tags found
2 merge requests!4Release,!3Add test for removing a user from user discovery
Failed to register user josh13: rpc error: code = Unknown desc = Username josh13 is already taken. Please try again
......@@ -12,3 +12,4 @@ Message received: Hello from Josh31, with E2E Encryption
Message received: Hello from Josh31, with E2E Encryption
Message received: Hello from Josh31, with E2E Encryption
Received 5
Removed user from discovery: josh13
......@@ -534,6 +534,18 @@ then
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
wait $PIDVAL2
# Test Remove User
CLIENTCMD="timeout 240s ../bin/client ud $CLIENTUDOPTS -l $CLIENTOUT/client13.log -s blob13 --remove josh13"
eval $CLIENTCMD >> $CLIENTOUT/client13.txt || true &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
CLIENTCMD="timeout 240s ../bin/client ud $CLIENTUDOPTS -l $CLIENTOUT/client13-2.log -s blob13-2 --register josh13"
eval $CLIENTCMD >> $CLIENTOUT/client13-2.txt || true &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment