kohsuke
d8667f54dd
enabling back tests.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21357 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 17:00:51 +00:00
kohsuke
f263d84940
Fixed a race condition that appear as test failures. This is caused by the remote peer sending us a request before we get to obtain the remote capacity.
...
I moved the capability exchange to the preamble negotiation to avoid this problem.
----
java.lang.NullPointerException
at hudson.remoting.UserRequest._serialize(UserRequest.java:136)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:236)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21132 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 21:19:15 +00:00
kohsuke
e259abec4a
[FIXED HUDSON-4261] applied a patch
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20880 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 01:24:49 +00:00
kohsuke
24e146f07d
added a little analyzer to inspect the traffic
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19541 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:11:20 +00:00
jglick
2dd667265b
File.toURL() is deprecated.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19471 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:31:24 +00:00
kohsuke
51b86c9045
[FIXED HUDSON-1041] Improved the handling of this problem by transforming an exception into a proxy type that can be serialized.
...
Stack traces and messages are kept intact in this process.
This change will be in 1.286.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15497 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-20 19:44:07 +00:00
kohsuke
1a1d0d74d5
license header clean up
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 20:05:24 +00:00
kohsuke
aa20e2bc98
added a test case that actually doesn't verify much.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11783 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-27 06:16:07 +00:00
kohsuke
f2f9743cd8
accidentally commented out.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6628 71c3de6d-444a-0410-be80-ed276b4c234a
2008-01-13 20:00:01 +00:00
kohsuke
e153f3ac61
support sending back exported objects to the caller.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6627 71c3de6d-444a-0410-be80-ed276b4c234a
2008-01-13 19:59:00 +00:00
kohsuke
f7a8c791f2
implemented streaming base64 encoder/decoder for tunneling connection over binary-unsafe protocol.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6285 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-15 18:02:33 +00:00
kohsuke
7b8e851e31
fixed a test.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2212 71c3de6d-444a-0410-be80-ed276b4c234a
2007-02-15 13:55:10 +00:00
kohsuke
f391d39411
added a test for resource support.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1599 71c3de6d-444a-0410-be80-ed276b4c234a
2007-01-03 05:57:45 +00:00
kohsuke
4cabee9f18
typo fixes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1396 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-20 19:20:31 +00:00
kohsuke
5d3e48f6a8
adding alias Future interface to keep the signature compatibility.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1347 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-17 01:08:09 +00:00
kohsuke
482f9a0795
bug fixes. ObjectOutputStream needs to be flushed for certain kind of stream, like process stream, or else we'll dead-lock.
...
expanded tests.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1306 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-13 06:11:30 +00:00
kohsuke
2631e2f4ca
added code for testing different channel configuration by using the same test code.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1304 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-13 02:39:54 +00:00
kohsuke
9222fdbcc1
completed pipe implementation.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1303 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-13 01:57:04 +00:00
kohsuke
04b15b9a21
adding a test for pipe.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1299 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-12 19:00:18 +00:00
kohsuke
2b1d175375
implemented asynchronous invocation.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1297 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-12 18:12:55 +00:00
kohsuke
cf2eb25dee
added preliminary version of the remoting infrastructure.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1294 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-12 07:00:56 +00:00