Skip to content

Commit

Permalink
LocalSecretsProvider: invalid permissions tests made more robust (#4663
Browse files Browse the repository at this point in the history
…) [ci fast]



Signed-off-by: Dr Marco Claudio De La Pierre <marco.delapierre@gmail.com>
  • Loading branch information
marcodelapierre committed Jan 16, 2024
1 parent 66f37f6 commit 682a680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changelog.txt
Expand Up @@ -4,7 +4,7 @@ NEXTFLOW CHANGE-LOG
- Fix bug with Fusion symlink resolution (#4593) [f28c9e48]
- Fix Fusion symlinks when publishing files (#4348) [1fa5878a]
- Fix Inspect command fails with Singularity [25883df3]
- Fix Allow the use of error build-in function in onComplete handler (#4458) [ci fast] [4be10cd3]
- Fix Allow the use of error built-in function in onComplete handler (#4458) [ci fast] [4be10cd3]
- Fix Harden regular expression to used to strip secrets in logs (#4563) [ci fast] [0102d4d6]
- Fix custom notification template [40980bcb]
- Fix container environment with special chars (#4594) [f4e00601]
Expand Down
Expand Up @@ -106,6 +106,8 @@ class LocalSecretsProviderTest extends Specification {
and:
Files.write(secretFile, json.getBytes('utf-8'), StandardOpenOption.CREATE_NEW)
and:
secretFile.setPermissions('rw-r-----')
and:
def provider = new LocalSecretsProvider(storeFile: secretFile)

when:
Expand Down

0 comments on commit 682a680

Please sign in to comment.