Commit cd122f4
committed
test: Add tests for disk fusion feature
Add comprehensive unit tests for the disk fusion feature.
Changes:
- Add test cases for DiskResource with fusion field
- Test all combinations: fusion true/false/null
- Test fusion field preservation in withRequest()
- Test combined usage with type and request fields
Tests verify:
- DiskResource correctly stores fusion setting
- Fusion setting persists through withRequest() transformations
- All disk directive syntax variants parse correctly
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>1 parent 24bd0a0 commit cd122f4
File tree
1 file changed
+10
-4
lines changed- modules/nextflow/src/test/groovy/nextflow/executor/res
1 file changed
+10
-4
lines changedLines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
0 commit comments