[so] [Tema2][Windows][test5] Timp pornire clienti
Bogdan Sass
bogdan.sass at catc.ro
Wed Apr 15 13:21:38 EEST 2009
Revin cu intrebarea mea referitoare la timpul de pornire al
clientilor. La testul 5 (si la alte 2 teste), exista un timer de 50ms in
care se presupune ca va porni al doilea client.
Ei bine, la mine clientul respectiv porneste mult mai tarziu, DUPA
ce a expirat timer-ul. Ca urmare, pic testele respective.
Aveti mai jos un mesaj de logging de la o astfel de rulare, in
format id_client-GetTickCount: mesaj (GetTickCount fiind in ms).
$CLIENT s 50 a picasso s $GAP a philippine s $GAP a sofia &
$CLIENT a albertina s $GAP a ashlee s $GAP a sharleen s $GAP a alisha &
$CLIENT s 1000 r alisha a june s $GAP p > $TMP
Running test
1-31350239:Sleeping for 50 ms;
1-31350289:sending command |a picasso| //La 289 primul client a
iesit din sleep, si trimite deja comanda spre server
1-31350289:Sleeping for 200 ms;
1-31350489:sending command |a philippine|
1-31350489:Sleeping for 200 ms;
1-31350689:sending command |a sofia|
2-31350299:sending command |a albertina| //In timp ce al doilea
client porneste abia la 299, 10ms mai tarziu
2-31350299:Sleeping for 200 ms;
2-31350499:sending command |a ashlee|
2-31350499:Sleeping for 200 ms;
2-31350699:sending command |a sharleen|
2-31350699:Sleeping for 200 ms;
2-31350900:sending command |a alisha|
1,5c1
< picasso albertina philippine ashlee sofia sharleen june
---
> albertina picasso ashlee philippine sharleen sofia june
--{ FAILED }--
Poate cineva sa imi explice ce as putea sa fac pentru a evita
problema? Alternativ, se pot relaxa un pic timer-ele de la testele
respective (5,7,8), astfel incat sa apuce si clientii mei sa porneasca? :)
Multumesc,
--
Bogdan Sass
CCAI,CCSP,JNCIA-ER,CCIE #22221 (RS)
Information Systems Security Professional
"Curiosity was framed - ignorance killed the cat"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090415/0a27d19a/attachment.bin>
More information about the so
mailing list