-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: TestInstallRunRestartStopRemove failed. #30
Comments
What os/service? On Mon, Aug 31, 2015, 03:58 Loïc Geffroy [email protected] wrote:
|
On Windows 7 |
@lgylgy I'll look into this issue. Part of what this test tests is quickly stopping and starting. I had thought I had fixed it. Could you send me the repo revision you are on? |
I'm on the last revision 06ebab1. |
Hmm. I can't reproduce this trouble on my win7 amd64. My pause to adding sleeps in the test is I would prefer to fix the windows stop and start logic. I've updated the tests to print out the stop timeout time, could you update and run test, then post what the timeout says for your system? Also, are you running 32-bit or 64-bit? |
I get the same failure that @lgylgy reports. Windows 7, amd64. Running the updated test:
|
@ChrisHines @lgylgy |
Also, the test service is not fully deleted after this. Running it a second time I get:
I have to reboot to get the service deleted, so testing this repeatedly is a pain. Update: The service couldn't be deleted because it was still running. After manually stopping the service Windows finalized the deletion. |
@ChrisHines Agree testing on windows is a pain. Sometimes it deletes if fully, sometimes not. I'll look at it more later.Thanks for that test. |
@kardianos No worries. Manually stopping the service avoids the reboot. And thanks for the great package, I am happy to help make it better. |
Hi,
I have a problem with the TestInstallRunRestartStopRemove test in service_test.go. The test systematically fails:
When i add sleeps between Start/Restart/Stop signals, the test is successful.
I think that signals do not have the time to be processed. Do you have any idea about this problem ?
Thanks
The text was updated successfully, but these errors were encountered: