Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dropped Messages Auto Test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
Dropped Messages Auto Test
Commits
ad30bddc
Commit
ad30bddc
authored
3 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Bump client timeouts for a live network
parent
5c7adc04
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
delayedpickup/run.sh
+10
-10
10 additions, 10 deletions
delayedpickup/run.sh
with
10 additions
and
10 deletions
delayedpickup/run.sh
+
10
−
10
View file @
ad30bddc
...
...
@@ -23,7 +23,7 @@ DEBUGLEVEL=${DEBUGLEVEL-1}
CLIENTOUT
=
results/clients
CLIENTOPTS
=
"--password hello --ndf results/ndf.json --waitTimeout 3
0
0 --unsafe-channel-creation -v
$DEBUGLEVEL
"
CLIENTOPTS
=
"--password hello --ndf results/ndf.json --waitTimeout 3
3
0 --unsafe-channel-creation -v
$DEBUGLEVEL
"
CLIENTUDOPTS
=
"--password hello --ndf results/ndf.json -v
$DEBUGLEVEL
"
CLIENTSINGLEOPTS
=
"--password hello --ndf results/ndf.json -v
$DEBUGLEVEL
"
CLIENTGROUPOPTS
=
"--password hello --ndf results/ndf.json -v
$DEBUGLEVEL
"
...
...
@@ -69,12 +69,12 @@ fi
# Non-precanned E2E user messaging
echo
"SENDING E2E MESSAGES TO NEW USERS..."
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client42.log -s
$SENDER
--writeContact
$CLIENTOUT
/rick42-contact.bin --unsafe -m
\"
Hello from Rick42 to myself, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client42.log -s
$SENDER
--writeContact
$CLIENTOUT
/rick42-contact.bin --unsafe -m
\"
Hello from Rick42 to myself, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client43.log -s
$RECEIVER
--writeContact
$CLIENTOUT
/ben43-contact.bin --destfile
$CLIENTOUT
/rick42-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client43.log -s
$RECEIVER
--writeContact
$CLIENTOUT
/ben43-contact.bin --destfile
$CLIENTOUT
/rick42-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt &
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -92,7 +92,7 @@ BENID=${TMPID}
echo
"BEN ID:
$BENID
"
# Client 42 will now wait for client 43's E2E Auth channel request and confirm
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s
$SENDER
--destfile
$CLIENTOUT
/ben43-contact.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s
$SENDER
--destfile
$CLIENTOUT
/ben43-contact.bin --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -101,21 +101,21 @@ wait $PIDVAL2
# Do some basic e2e sending to make sure everything is set up properly
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client42.log -s
$SENDER
--destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client42.log -s
$SENDER
--destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client43.log -s
$RECEIVER
--destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client43.log -s
$RECEIVER
--destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt &
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL2
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client42.log -s
$SENDER
--destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client42.log -s
$SENDER
--destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 3
0
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client43.log -s
$RECEIVER
--destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 3
3
0s ../bin/client
$CLIENTOPTS
--verify-sends -l
$CLIENTOUT
/client43.log -s
$RECEIVER
--destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt &
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -125,7 +125,7 @@ wait $PIDVAL2
sleep
15
# Client 42 sends to client 43 with verified-sends on
CLIENTCMD
=
"timeout
24
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42-wv.log -s
$SENDER
--destid b64:
$BENID
--sendCount
$NUMSENDS
--receiveCount 0 --verify-sends -m
\"
Hello from Rick42, but verified this time
\"
"
CLIENTCMD
=
"timeout
33
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42-wv.log -s
$SENDER
--destid b64:
$BENID
--sendCount
$NUMSENDS
--receiveCount 0 --verify-sends -m
\"
Hello from Rick42, but verified this time
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42-wv.txt &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
@@ -135,7 +135,7 @@ wait $PIDVAL
sleep
$SLEEPTIME
# Client 43 runs and looks for the messages from client 42
CLIENTCMD
=
"timeout
24
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43-wv.log -s
$RECEIVER
--destid b64:
$RICKID
--sendCount 0 --receiveCount
$NUMSENDS
"
CLIENTCMD
=
"timeout
33
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43-wv.log -s
$RECEIVER
--destid b64:
$RICKID
--sendCount 0 --receiveCount
$NUMSENDS
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43-wv.txt &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment