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
17e04ce8
Commit
17e04ce8
authored
Oct 25, 2021
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Update run command for proto tests
parent
aaa651bf
Branches
Branches containing commit
No related tags found
3 merge requests
!68
Master merge
,
!11
Release
,
!9
Add code for proto USer
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
basice2e/run.sh
+8
-8
8 additions, 8 deletions
basice2e/run.sh
with
8 additions
and
8 deletions
basice2e/run.sh
+
8
−
8
View file @
17e04ce8
...
...
@@ -476,25 +476,25 @@ wait $PIDVAL2
# Generate contact and proto user file for client25
echo
"TESTING PROTO USER FILE..."
CLIENTCMD
=
"../bin/client
proto
-l
$CLIENTOUT
/client25.log -s blob11420 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/josh25-contact.bin --protoUserOut
$CLIENTOUT
/client25Proto.json "
CLIENTCMD
=
"
timeout 20s
../bin/client -l
$CLIENTOUT
/client25.log -s blob11420 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/josh25-contact.bin --protoUserOut
$CLIENTOUT
/client25Proto.json "
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
# Generate contact and proto user file for client 26
CLIENTCMD
=
"../bin/client
proto
-l
$CLIENTOUT
/client26.log -s blob11421 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/jonah26-contact.bin --protoUserOut
$CLIENTOUT
/client26Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client2
5
.txt
||
true
&
CLIENTCMD
=
"
timeout 20s
../bin/client -l
$CLIENTOUT
/client26.log -s blob11421 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/jonah26-contact.bin --protoUserOut
$CLIENTOUT
/client26Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client2
6
.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
# Clients will now load from the protoUser file and write to session
CLIENTCMD
=
"timeout
24
0s ../bin/client
proto
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --protoUserPath
$CLIENTOUT
/client25Proto.json"
CLIENTCMD
=
"timeout
6
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --protoUserPath
$CLIENTOUT
/client25Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout
24
0s ../bin/client
proto
$CLIENTOPTS
-l
$CLIENTOUT
/client26.log -s blob26 --protoUserPath
$CLIENTOUT
/client26Proto.json"
CLIENTCMD
=
"timeout
6
0s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client26.log -s blob26 --protoUserPath
$CLIENTOUT
/client26Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL2
"
...
...
@@ -518,10 +518,10 @@ while [ ! -s $CLIENTOUT/jonah26-contact.bin ]; do
done
# Print IDs to console
TMPID
=
$(
cat
$CLIENTOUT
/client25.log |
grep
-a
"User
\:
"
|
awk
-F
' '
'{print $5}'
)
TMPID
=
$(
cat
$CLIENTOUT
/client25.log |
grep
-a
"User
\:
"
|
awk
-F
' '
'{print $5}'
|
head
-1
)
JOSHID
=
${
TMPID
}
echo
"JOSH ID:
$JOSHID
"
TMPID
=
$(
cat
$CLIENTOUT
/client26.log |
grep
-a
"User
\:
"
|
awk
-F
' '
'{print $5}'
)
TMPID
=
$(
cat
$CLIENTOUT
/client26.log |
grep
-a
"User
\:
"
|
awk
-F
' '
'{print $5}'
|
head
-1
)
JONAHID
=
${
TMPID
}
echo
"JONAH ID:
$JONAHID
"
...
...
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