Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
2f605903
Commit
2f605903
authored
Feb 20, 2021
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Make sure we use --unsafe when waiting for authenticated channel requests and confirmations
parent
5b1901f6
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
basice2e/run.sh
+7
-7
7 additions, 7 deletions
basice2e/run.sh
with
7 additions
and
7 deletions
basice2e/run.sh
+
7
−
7
View file @
2f605903
...
@@ -287,14 +287,14 @@ echo "BEN ID: $BENID"
...
@@ -287,14 +287,14 @@ echo "BEN ID: $BENID"
# Client 42 will now wait for client 43's E2E Auth channel request and not do
# Client 42 will now wait for client 43's E2E Auth channel request and not do
# anything else.
# anything else.
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s blob42 --destid b64:
$RICKID
--sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s blob42 --destid b64:
$RICKID
--sendCount 0 --receiveCount 0
--unsafe
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
# Client 43 will now wait for the confirmation.
# Client 43 will now wait for the confirmation.
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43.log -s blob43 --destid b64:
$BENID
--sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43.log -s blob43 --destid b64:
$BENID
--sendCount 0 --receiveCount 0
--unsafe
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -379,21 +379,21 @@ then
...
@@ -379,21 +379,21 @@ then
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client13.log -s blob13 --destfile
$CLIENTOUT
/josh31.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client13.log -s blob13 --destfile
$CLIENTOUT
/josh31.bin --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client13.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client13.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
2
"
wait
$PIDVAL2
wait
$PIDVAL2
# Approve request
# Approve request
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client31.log -s blob31 --destfile
$CLIENTOUT
/josh31.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client31.log -s blob31 --destfile
$CLIENTOUT
/josh31.bin --sendCount 0 --receiveCount 0
--unsafe
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client31.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client31.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
2
"
wait
$PIDVAL2
wait
$PIDVAL2
# Register confirmation
# Register confirmation
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client13.log -s blob13 --destfile
$CLIENTOUT
/josh13.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client13.log -s blob13 --destfile
$CLIENTOUT
/josh13.bin --sendCount 0 --receiveCount 0
--unsafe
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client13.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client13.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
2
"
wait
$PIDVAL2
wait
$PIDVAL2
# now test
# now test
...
...
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