Skip to content

Commit cab62f4

Browse files
committed
testsuite: add jobspecs using string counts
Problem: none of the current valid jobspecs use a resource count string Add use_case_1.8.yaml from RFC14, resource_count_string_min_only.yaml, and valid/resource_count_string_range.yaml to the testsuite valid jobspecs
1 parent 7356597 commit cab62f4

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 999
2+
resources:
3+
- type: slot
4+
count: "2+"
5+
label: default
6+
with:
7+
- type: node
8+
count: 1
9+
tasks:
10+
- command: [ "flux", "start" ]
11+
slot: default
12+
count:
13+
per_slot: 1
14+
attributes:
15+
system:
16+
duration: 3600.
17+
cwd: "/home/flux"
18+
environment:
19+
HOME: "/home/flux"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 999
2+
resources:
3+
- type: slot
4+
count: "2-32:2:*"
5+
label: default
6+
with:
7+
- type: node
8+
count: 1
9+
tasks:
10+
- command: [ "flux", "start" ]
11+
slot: default
12+
count:
13+
per_slot: 1
14+
attributes:
15+
system:
16+
duration: 3600.
17+
cwd: "/home/flux"
18+
environment:
19+
HOME: "/home/flux"

t/jobspec/valid/use_case_1.8.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 999
2+
resources:
3+
- type: slot
4+
count: "4,9,16,25"
5+
label: default
6+
with:
7+
- type: node
8+
count: 1
9+
tasks:
10+
- command: [ "flux", "start" ]
11+
slot: default
12+
count:
13+
per_slot: 1
14+
attributes:
15+
system:
16+
duration: 3600.
17+
cwd: "/home/flux"
18+
environment:
19+
HOME: "/home/flux"

0 commit comments

Comments
 (0)