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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
2aea4992
Commit
2aea4992
authored
2 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Bump timeouts out to ensure passing
parent
b80e5fe3
No related branches found
No related tags found
2 merge requests
!68
Master merge
,
!28
Add integration test for connections
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basice2e/run.sh
+3
-4
3 additions, 4 deletions
basice2e/run.sh
with
3 additions
and
4 deletions
basice2e/run.sh
+
3
−
4
View file @
2aea4992
...
@@ -37,7 +37,7 @@ CLIENTGROUPOPTS="--password hello --waitTimeout 600 --ndf results/ndf.json -v $D
...
@@ -37,7 +37,7 @@ CLIENTGROUPOPTS="--password hello --waitTimeout 600 --ndf results/ndf.json -v $D
CLIENTFILETRANSFEROPTS
=
"--password hello --waitTimeout 600 --ndf results/ndf.json -v
$DEBUGLEVEL
"
CLIENTFILETRANSFEROPTS
=
"--password hello --waitTimeout 600 --ndf results/ndf.json -v
$DEBUGLEVEL
"
CLIENTREKEYOPTS
=
"--password hello --ndf results/ndf.json --verify-sends --waitTimeout 420 --unsafe-channel-creation -v
$DEBUGLEVEL
"
CLIENTREKEYOPTS
=
"--password hello --ndf results/ndf.json --verify-sends --waitTimeout 420 --unsafe-channel-creation -v
$DEBUGLEVEL
"
CLIENTBACKUPOPTS
=
"--password hello --ndf results/ndf.json -v
$DEBUGLEVEL
"
CLIENTBACKUPOPTS
=
"--password hello --ndf results/ndf.json -v
$DEBUGLEVEL
"
CONNECTIONOPTS
=
"--password hello --waitTimeout
9
0 --ndf results/ndf.json -v
$DEBUGLEVEL
"
CONNECTIONOPTS
=
"--password hello --waitTimeout
36
0 --ndf results/ndf.json -v
$DEBUGLEVEL
"
mkdir
-p
$SERVERLOGS
mkdir
-p
$SERVERLOGS
mkdir
-p
$GATEWAYLOGS
mkdir
-p
$GATEWAYLOGS
...
@@ -1109,13 +1109,12 @@ wait $PIDVAL2
...
@@ -1109,13 +1109,12 @@ wait $PIDVAL2
echo
"FILE TRANSFER FINISHED..."
echo
"FILE TRANSFER FINISHED..."
###############################################################################
###############################################################################
# Test connections
# Test connections
###############################################################################
###############################################################################
echo
"TESTING CONNECTIONS..."
echo
"TESTING CONNECTIONS..."
# Initiate server
# Initiate server
CLIENTCMD
=
"timeout 240s ../bin/client connection -s blob200
$CONNECTIONOPTS
--writeContact
$CLIENTOUT
/client200-server.bin -l
$CLIENTOUT
/client200.log --startServer --serverTimeout
1m15s
"
CLIENTCMD
=
"timeout 240s ../bin/client connection -s blob200
$CONNECTIONOPTS
--writeContact
$CLIENTOUT
/client200-server.bin -l
$CLIENTOUT
/client200.log --startServer --serverTimeout
2m
"
eval
$CLIENTCMD
>
$CLIENTOUT
/client200.txt 2>&1
||
true
&
eval
$CLIENTCMD
>
$CLIENTOUT
/client200.txt 2>&1
||
true
&
PIDVAL1
=
$!
PIDVAL1
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL1
"
echo
"
$CLIENTCMD
--
$PIDVAL1
"
...
@@ -1143,7 +1142,7 @@ echo "CONNECTION TESTS FINISHED"
...
@@ -1143,7 +1142,7 @@ echo "CONNECTION TESTS FINISHED"
###############################################################################
###############################################################################
echo
"TESTING AUTHENTICATED CONNECTIONS..."
echo
"TESTING AUTHENTICATED CONNECTIONS..."
# Initiate server
# Initiate server
CLIENTCMD
=
"timeout 240s ../bin/client connection -s blob202 --authenticated
$CONNECTIONOPTS
--writeContact
$CLIENTOUT
/client202-server.bin -l
$CLIENTOUT
/client202.log --startServer --serverTimeout
1m15s
"
CLIENTCMD
=
"timeout 240s ../bin/client connection -s blob202 --authenticated
$CONNECTIONOPTS
--writeContact
$CLIENTOUT
/client202-server.bin -l
$CLIENTOUT
/client202.log --startServer --serverTimeout
2m
"
eval
$CLIENTCMD
>
$CLIENTOUT
/client202.txt 2>&1
||
true
&
eval
$CLIENTCMD
>
$CLIENTOUT
/client202.txt 2>&1
||
true
&
PIDVAL1
=
$!
PIDVAL1
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL1
"
echo
"
$CLIENTCMD
--
$PIDVAL1
"
...
...
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