From: Jan Stancek <jstancek@redhat.com>
To: Hangbin Liu <liuhangbin@gmail.com>
Cc: ltp-list <ltp-list@lists.sf.net>
Subject: Re: [LTP] [PATCH] networking/stress/tcp: make sure we will kill the test case after timeout
Date: Fri, 28 Jun 2013 03:13:50 -0400 (EDT) [thread overview]
Message-ID: <1243201217.946751.1372403630876.JavaMail.root@redhat.com> (raw)
In-Reply-To: <CAPwn2JTuF3EVb8_XoWkFk=qZc61FhNHenNDmdR7b6xrZFf9x1g@mail.gmail.com>
----- Original Message -----
> From: "Hangbin Liu" <liuhangbin@gmail.com>
> To: "Jan Stancek" <jstancek@redhat.com>
> Sent: Friday, 28 June, 2013 8:36:05 AM
> Subject: Re: [LTP] [PATCH] networking/stress/tcp: make sure we will kill the test case after timeout
>
> No, we can set up $CONNECTION_TOTAL connections as soon as possible, and also
> transmit tcp data at the same time.
Where does this happen?
I'm looking at the while loop, and I see it creates 1 connection each
iteration, then it sleeps for 1 second.
Am I missing something here?
while true ; do
# Making connections
if [ $connection_num -lt $CONNECTION_TOTAL ]; then
# make new connection
...
connection_num=`expr $connection_num + 1`
fi
# check time
...
sleep 1
done
Regards,
Jan
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-06-28 7:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-25 7:48 [LTP] [PATCH] networking/stress/tcp: make sure we will kill the test case after timeout Hangbin Liu
2013-06-27 16:25 ` Jan Stancek
[not found] ` <CAPwn2JTuF3EVb8_XoWkFk=qZc61FhNHenNDmdR7b6xrZFf9x1g@mail.gmail.com>
2013-06-28 7:13 ` Jan Stancek [this message]
[not found] ` <CAPwn2JRYRWDEvn090NdtM1K178R=yQSasmBX3ZoKymVtcRWPXw@mail.gmail.com>
2013-06-28 11:06 ` Jan Stancek
2013-07-01 8:31 ` Hangbin Liu
2013-07-01 10:56 ` Jan Stancek
2013-07-04 1:03 ` Hangbin Liu
2013-07-01 12:56 ` KUMAR, BHUSHAN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1243201217.946751.1372403630876.JavaMail.root@redhat.com \
--to=jstancek@redhat.com \
--cc=liuhangbin@gmail.com \
--cc=ltp-list@lists.sf.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox