Skip to content
Snippets Groups Projects
Commit 1fd3064c authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa
Browse files

interop: Enable 0RTT in zerortt test

parent 1720afc4
Branches
No related merge requests found
......@@ -28,11 +28,14 @@ if [ "$ROLE" == "client" ]; then
fi
if [ "$TESTCASE" == "resumption" ] || [ "$TESTCASE" == "zerortt" ]; then
CLIENT_ARGS="$CLIENT_ARGS --session-file session.txt --tp-file tp.txt"
if [ "$TESTCASE" == "resumption" ]; then
CLIENT_ARGS="$CLIENT_ARGS --disable-early-data"
fi
REQS=($REQUESTS)
REQUESTS=${REQS[0]}
/usr/local/bin/client $CLIENT_ARGS --exit-on-first-stream-close $REQUESTS $CLIENT_PARAMS &> $LOG
REQUESTS=${REQS[@]:1}
/usr/local/bin/client $CLIENT_ARGS --disable-early-data $REQUESTS $CLIENT_PARAMS &> $LOG
/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"
for REQ in $REQUESTS; do
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment