Skip to content

Commit 175a1c0

Browse files
committed
update complex test for new group/partition variables
1 parent 03dea2e commit 175a1c0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

molecule/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test1 | 1 | N | 2x compute node, sequential na
1010
test1b | 1 | N | 1x compute node
1111
test1c | 1 | N | 2x compute nodes, nonsequential names
1212
test2 | 2 | N | 4x compute node, sequential names
13-
test3 | 1 | Y | -
13+
test3 | 1 | Y | 4x compute nodes in 2x groups, single partition
1414
test4 | 1 | N | 2x compute node, accounting enabled
1515
test5 | 1 | N | As for #1 but configless
1616
test6 | 1 | N | 0x compute nodes, configless

molecule/test3/converge.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
runtime: true
99
openhpc_slurm_control_host: "{{ groups['testohpc_login'] | first }}"
1010
openhpc_nodegroups:
11-
- name: "compute"
11+
- name: grp1
12+
- name: grp2
13+
openhpc_partitions:
14+
- name: compute
1215
groups:
13-
- name: "grp1"
14-
- name: "grp2"
16+
- grp1
17+
- grp2
1518
openhpc_cluster_name: testohpc
1619
tasks:
1720
- name: "Include ansible-role-openhpc"
1821
include_role:
1922
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
20-
21-

0 commit comments

Comments
 (0)