----- Original Message -----
> From: "Hangbin Liu" <[email protected]>
> To: "Jan Stancek" <[email protected]>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to