Displaying 3 results from an estimated 3 matches for "test_services".
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all,
I''m preparing win32-service for an 0.5.1 release. I''ve made a couple
minor changes and altered the test suite a bit. It passes on my box
here, except that about half the time I get this error:
1) Error:
test_services(TC_Win32Service):
Win32::ServiceError: OpenService() call failed: The handle is invalid.
test/tc_service.rb:227:in `services''
test/tc_service.rb:227:in `test_services''
45 tests, 145 assertions, 0 failures, 1 errors
If I run this test by itself via -n test_services, it al...
2004 Feb 01
2
test_services test case
...n32-service-0.3.0 I got hung up trying to resolve that
"RPC server is unavailable" error message that was popping up on some
systems. I couldn''t duplicate this on my XP Pro box, but it does show up on
my Win2k box.
Quick review - this is the test case from tc_service.rb
def test_services
assert_nothing_raised{ Service.services{ } }
assert_raises(NotImplementedError){ Service.services } # no non-block
a = []
Service.services{ |s| a.push(s) }
assert_kind_of(Struct::Win32Service,a.first)
end
I added some more information to the error messages, and it tur...
2004 Jan 26
1
Re: win32-service ideas
>From: Shashank Date <sdate@everestkc.net>
>To: Daniel Berger <djberg96@hotmail.com>, phasis@nownuri.net
>CC: win32utils-devel@rubyforge.org
>Subject: Re: win32-service ideas
>Date: Sun, 25 Jan 2004 10:49:03 -0600
>
>Dan, Park,
>
> > Still nothing. The svc.log file never gets created. It''s definitely
> > choking on the StartService() call.