Skip to content

Commit

Permalink
Use a longer password in the automated test (#1656)
Browse files Browse the repository at this point in the history
jenkinsci/credentials-plugin#558 shows that
there are cases where a longer password is better in the test.
  • Loading branch information
MarkEWaite authored Sep 17, 2024
1 parent beda22c commit 9ba71f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/hudson/plugins/git/FIPSModeUrlCheckTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void testGitSCMSourceCheck() throws Throwable {
SystemCredentialsProvider.getInstance()
.getCredentials()
.add(new UsernamePasswordCredentialsImpl(
CredentialsScope.GLOBAL, "mycreds", null, "jenkins", "s3cr3t"));
CredentialsScope.GLOBAL, "mycreds", null, "jenkins", "s3cr3t-that-needs-to-be-long"));
SystemCredentialsProvider.getInstance().save();
MultiBranchProject<?, ?> mbp = r.createProject(WorkflowMultiBranchProject.class, "mbp");
GitSCMSource.DescriptorImpl descriptor = ExtensionList.lookupSingleton(GitSCMSource.DescriptorImpl.class);
Expand Down

0 comments on commit 9ba71f1

Please sign in to comment.