Skip to content

Commit fcf52e5

Browse files
authored
fix: lower trace-access.nf memory to fit CI runner capacity (#7266)
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent 22894f7 commit fcf52e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/checks/trace-access.nf/.checks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ $NXF_RUN | tee stdout
66
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 1 ]] || false
77
[[ `grep 'INFO' .nextflow.log | grep -c 'Re-submitted process > foo'` == 3 ]] || false
88

9-
[[ `grep -c 'mem: 8 GB (previous: 4294967296) (error: nextflow.exception.ProcessFailedException: Process .* terminated with an error exit status (137))' stdout` == 1 ]] || false
9+
[[ `grep -c 'mem: 2 GB (previous: 1073741824) (error: nextflow.exception.ProcessFailedException: Process .* terminated with an error exit status (137))' stdout` == 1 ]] || false
1010

1111

tests/trace-access.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
process foo {
2-
memory { task.attempt > 1 ? task.previousTrace.memory * 2 : (1.GB) }
2+
memory { task.attempt > 1 ? task.previousTrace.memory * 2 : (256.MB) }
33
errorStrategy 'retry'
44
maxRetries 3
55
input:

0 commit comments

Comments
 (0)