Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngtcp2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Kashyap Thimmaraju
ngtcp2
Commits
dc04349c
Commit
dc04349c
authored
4 years ago
by
Tatsuhiro Tsujikawa
Browse files
Options
Downloads
Patches
Plain Diff
interop: Use --exit-on-all-streams-close
parent
85981e4b
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
interop/run_endpoint.sh
+3
-3
3 additions, 3 deletions
interop/run_endpoint.sh
with
3 additions
and
3 deletions
interop/run_endpoint.sh
+
3
−
3
View file @
dc04349c
...
...
@@ -22,7 +22,7 @@ LOG=/logs/log.txt
if
[
"
$ROLE
"
==
"client"
]
;
then
# Wait for the simulator to start up.
/wait-for-it.sh sim:57832
-s
-t
30
CLIENT_ARGS
=
"server 443 --download /downloads -s --no-quic-dump --no-http-dump --
timeout=5s
--qlog-dir
$QLOGDIR
"
CLIENT_ARGS
=
"server 443 --download /downloads -s --no-quic-dump --no-http-dump --
exit-on-all-streams-close
--qlog-dir
$QLOGDIR
"
if
[
"
$TESTCASE
"
==
"versionnegotiation"
]
;
then
CLIENT_ARGS
=
"
$CLIENT_ARGS
-v 0xaaaaaaaa"
fi
...
...
@@ -36,11 +36,11 @@ if [ "$ROLE" == "client" ]; then
fi
REQS
=(
$REQUESTS
)
REQUESTS
=
${
REQS
[0]
}
/usr/local/bin/client
$CLIENT_ARGS
--exit-on-first-stream-close
$REQUESTS
$CLIENT_PARAMS
&>
$LOG
/usr/local/bin/client
$CLIENT_ARGS
$REQUESTS
$CLIENT_PARAMS
&>
$LOG
REQUESTS
=
${
REQS
[@]
:1
}
/usr/local/bin/client
$CLIENT_ARGS
$REQUESTS
$CLIENT_PARAMS
&>>
$LOG
elif
[
"
$TESTCASE
"
==
"multiconnect"
]
;
then
CLIENT_ARGS
=
"
$CLIENT_ARGS
--exit-on-first-stream-close
--timeout=180s"
CLIENT_ARGS
=
"
$CLIENT_ARGS
--timeout=180s"
for
REQ
in
$REQUESTS
;
do
echo
"multiconnect REQ:
$REQ
"
>>
$LOG
/usr/local/bin/client
$CLIENT_ARGS
$REQ
$CLIENT_PARAMS
&>>
$LOG
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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