mirror of
https://github.com/google/nomulus
synced 2026-02-10 06:50:30 +00:00
Remove outdated comment in RdeUploadActionTest
I think this comment was meant to be the justification for not using "localhost" (aka a hostname) in the URLs, because jsch would mangle it. However, we already cut over to using "localhost" in [] to avoid a dependency on IPv4, and it's been fine. So this comment no longer makes sense. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=158063880
This commit is contained in:
@@ -278,8 +278,6 @@ public class RdeUploadActionTest {
|
||||
|
||||
@Test
|
||||
public void testRunWithLock_succeedsOnThirdTry() throws Exception {
|
||||
// XXX: For any port other than 22, JSch will reformat the hostname IPv6 style which causes
|
||||
// known host matching to fail.
|
||||
int port = sftpd.serve("user", "password", folder.getRoot());
|
||||
URI uploadUrl = URI.create(String.format("sftp://user:password@localhost:%d/", port));
|
||||
DateTime stagingCursor = DateTime.parse("2010-10-18TZ");
|
||||
|
||||
Reference in New Issue
Block a user