Skip to content

Commit

Permalink
Use a longer password in the automated test
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 committed Sep 17, 2024
1 parent 585d5dd commit 1491a29
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 1491a29

Please sign in to comment.