Skip to content

Commit

Permalink
Update src/main/java/org/jvnet/hudson/test/RealJenkinsRule.java
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
  • Loading branch information
Vlatombe and jglick committed May 31, 2024
1 parent 589639c commit 06fe714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jvnet/hudson/test/RealJenkinsRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public RealJenkinsRule withTimeout(int timeout) {
* Sets a custom host name for the Jenkins root URL.
* <p>By default, this is just {@code localhost}.
* But you may wish to set it to something else that resolves to localhost,
* such as {@code some-id.127.0.0.1.nip.io}.
* such as {@code some-id.localtest.me}.
* This is particularly useful when running multiple copies of Jenkins (and/or other services) in one test case,
* since browser cookies are sensitive to host but not port and so otherwise {@link HttpServletRequest#getSession}
* might accidentally be shared across otherwise distinct services.
Expand Down

0 comments on commit 06fe714

Please sign in to comment.