Enables the hanging test#34911
Conversation
|
|
This doesn't make the test pass in any circumstances where it would previously hang, right? It just makes it log which of the 2 packets was never received. Which is fine but I dont' think it would fix any hang? |
Yes but it seems like hangs were not occurring due to this particular test but more of like test service taking a long time to start due to not able to get hold of the executable path or for some other machine related reasons. This test hits this because we start the service from the same executable path multiple times. But u r right, hangs are infrequent but still occur once in a while |
packets are getting received. earlier the packets could be out of order. Now they will be in order i.e connected first followed by start packet |
FIxes #34801
The hang doesnot reproduce using a clean build. It sometimes repro when a service gets hanged or not started properly or named pipe drops the byte.
I verified the required behavior using a debugview independently and serviceController start behaves as expected.
The order of connected and start bytes is also a strict one i.e. connected is always before start.