Commit Graph
33 Commits
Author SHA1 Message Date
Basil Crow 632033d6ad Sort imports (#5732) 2021-09-18 09:39:42 +01:00
Daniel Beck 239a6e635c Terminology cleanup: Internal and Javadoc changes 2021-06-20 16:24:43 +02:00
Stefan Spieker afd748142e removed superfluous throws in tests 2021-05-02 00:16:50 +02:00
Basil Crow f6378676b1 Add missing @Override annotations (#5430) 2021-04-28 17:28:25 +08:00
Basil Crow 9cf3f73abd Clean up JUnit assertions (#5314) 2021-03-02 08:17:27 +00:00
Basil Crow 1b62f74585 Remove star imports of org.junit.Assert 2020-05-09 15:39:40 -07:00
StefanSpieker 69a524ab0b Fixed deprecated warnings without changing behaviour (#4177)
* fixed deprecated warnings without changing behaviour

* use Charset.defaultCharset() instead of null
2019-09-13 09:45:34 +02:00
Oleg Nenashev a026f89ecf Merge pull request #3456 from jennbriden/master
Replacing text references of "slave" with "agent"
2019-01-29 09:53:40 +01:00
Jeff Thompson 33220dec37 Clean up warnings in tests about anonymous callable.
Convert them to static, named classes.
2018-10-29 13:01:07 -06:00
Jenn Briden 434135ef20 Changed references to "slave" and "slaves" to "agent" and "agents" 2018-05-14 22:04:47 -07:00
Oleg Nenashev e7cdd6517c [JENKINS-39370] - Update Remoting in Jenkins core to 3.10 (#2886)
* Update Remoting in Jenkins core to 3.8

* JENKINS-39370 - Introduce support of Work Directories in remoting (opt-in).
* PR 129 - Allow configuring java.util.logging settings via a property file (-loggingConfig or JUL system property). See the Logging page for more details.
* JENKINS-37567 - Change of the code signing certificate

More info: https://github.com/jenkinsci/remoting/blob/master/CHANGELOG.md#38

* [JENKINS-39370] - Add direct tests for JNLP Launcher start with -workDir

* Pick Remoting 3.9

* Improve error message of LauncherTest#remoteKill()

* Update Remoting to 3.10
2017-07-01 07:54:48 +02:00
Oliver Gondža 3990384257 Do not skip tests silently 2015-10-01 08:58:31 +02:00
Jesse Glick babfb832a3 JUnit 4. 2014-12-29 14:00:48 -05:00
Jesse Glick 89cbfc4639 Merge branch 'SECURITY-144' into SECURITY-144-rc
Conflicts:
	core/src/main/java/hudson/EnvVars.java
	core/src/main/java/hudson/FilePath.java
	core/src/main/java/hudson/cli/ClientAuthenticationCache.java
	core/src/main/java/hudson/markup/MyspacePolicy.java
	core/src/main/java/hudson/model/Computer.java
	core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java
	core/src/main/java/hudson/node_monitors/ResponseTimeMonitor.java
	core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java
	core/src/main/java/hudson/security/AbstractPasswordBasedSecurityRealm.java
	core/src/main/java/hudson/slaves/Channels.java
	core/src/main/java/hudson/slaves/SlaveComputer.java
	core/src/main/java/hudson/tasks/Fingerprinter.java
	core/src/main/java/hudson/tasks/Shell.java
	core/src/main/java/hudson/tasks/junit/JUnitParser.java
	core/src/main/java/hudson/tasks/test/DefaultTestResultParserImpl.java
	core/src/main/java/hudson/util/ProcessTree.java
	core/src/main/java/hudson/util/RemotingDiagnostics.java
	core/src/main/java/jenkins/model/Jenkins.java
	core/src/test/java/hudson/LauncherTest.java
	pom.xml
	test/src/test/java/hudson/tasks/junit/CaseResultTest.java
2014-09-26 15:56:48 -04:00
Kohsuke Kawaguchi ffb5b65093 Switched from annotation based scheme to a function based scheme. 2014-09-23 19:12:43 -07:00
Jesse Glick df4ba0d82c Trying to make testRemoteKill less prone to random failure (presumably on a heavily loaded machine). 2014-08-21 10:25:58 -04:00
Kohsuke Kawaguchi 0b27f364f9 [JENKINS-22354]
Avoid having FilePath to depend on Jenkins, which increases the amount of classloading that has to happen during remoting
2014-04-03 20:17:24 -07:00
Tim Lantz 7f67499141 [FIXED JENKINS-18368]: added Bug attributes 2013-06-18 06:38:38 -04:00
Tim Lantz d6ccf84eb4 [FIXED JENKINS-18368]: modified testcase asserts 2013-06-18 06:32:44 -04:00
Tim Lantz 656738c020 [JENKINS-18368] added isUnix override to launcher decorator classes so that isUnix is maintained for remote launcherswq 2013-06-16 23:23:49 -04:00
Jesse Glick 58484bb80c [FIXED JENKINS-15733] ArrayIndexOutOfBoundsException from Launcher due to misinterpretation of ProcStarter.envs in f5cebdc.
(Should this field be made a [LinkedHash]Map<String,String> or even EnvVars?
It is protected in a final class, so effectively package-private, thus not a b/w compat issue.)
2012-11-07 16:36:05 -05:00
Christoph Kutzinski 0ccc076b40 fixed some compiler warnings 2011-07-24 10:38:52 +02:00
Kohsuke Kawaguchi 96dd84b5d0 [FIXED JENKINS-7809] expose child process stdout as InputStream.
I added a mode where one can launch a child process without the built-in pumping support, making it trivial to read until EOF in the distributed environments.

 This concludes the fix.
2011-02-16 08:28:00 -08:00
kohsuke 2e13eb03dd Added a convenience method to reduce the invocation of a deprecated method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30806 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-07 18:23:26 +00:00
kohsuke 8269a73476 clean up the tmp file after a test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-17 01:01:54 +00:00
kohsuke ebfa6a0e2d the test is still failing. adding more delay
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23556 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-07 00:51:39 +00:00
kohsuke d4f345f98e Maven picks up *Test, so renaming
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23554 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-07 00:49:57 +00:00
kohsuke bae8b35c8f refactored the commonality out
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23552 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 23:22:44 +00:00
kohsuke 8fcda35317 Future.cancel is asynchronous, so it can return before the process is actually killed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23551 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 23:20:06 +00:00
kohsuke 7816b82f10 Hudson on Hudson finds this test brittle, so changing the way the test works.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23547 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 22:27:05 +00:00
kohsuke 61d341e21d assertNotSame would box them, so it won't achieve the intended test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23545 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 22:14:43 +00:00
jglick ebb5800937 Tweaking license text.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23528 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 18:39:49 +00:00
jglick 6ccad2bc32 [FIXED HUDSON-4611] hudson.proc.RemoteProc.kill() was a no-op.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23526 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 18:34:11 +00:00