Skip to content

Commit 9ba71f1

Browse files
authored
Use a longer password in the automated test (#1656)
jenkinsci/credentials-plugin#558 shows that there are cases where a longer password is better in the test.
1 parent beda22c commit 9ba71f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/hudson/plugins/git/FIPSModeUrlCheckTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void testGitSCMSourceCheck() throws Throwable {
6666
SystemCredentialsProvider.getInstance()
6767
.getCredentials()
6868
.add(new UsernamePasswordCredentialsImpl(
69-
CredentialsScope.GLOBAL, "mycreds", null, "jenkins", "s3cr3t"));
69+
CredentialsScope.GLOBAL, "mycreds", null, "jenkins", "s3cr3t-that-needs-to-be-long"));
7070
SystemCredentialsProvider.getInstance().save();
7171
MultiBranchProject<?, ?> mbp = r.createProject(WorkflowMultiBranchProject.class, "mbp");
7272
GitSCMSource.DescriptorImpl descriptor = ExtensionList.lookupSingleton(GitSCMSource.DescriptorImpl.class);

0 commit comments

Comments
 (0)