La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Shouldn't "Wait for client to connect" check if the client is (still) running?
Thanks for the long explanation. I was suspecting that it was not so easy to determine if the client is still running. On 19.07.2015, at 21:15, Gregor Schmid <Gregor.Schmid@?.de> wrote: > That said, your short cut implementation for the case where the client > terminates immediately is basically fine. I'd modify it slightly, but > I guess that's just a matter of taste: > > + Start SUT client: $(client) > + Try > + Wait for client to terminate (timeout 2000) > + call qfs.utils.testrun.stop.stopTestRun // terminated quickly > + Catch ClientNotTerminatedException > + Try > + Wait for client to connect > + Catch ClientNotConnectedException > + ... deal with it somehow ... Yes, this looks better, even to me :-) It didn't occur to me to use "Wait for process to terminate" here (as you do). I guess it was Friday afternoon, and it was hot ;-) - Michael
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.