Skip to content

Commit f2f2899

Browse files
committed
test: fix ion-R expected property format
Problem: t/t8001-util-ion-R.t expects JGF properties to be formatted as a JSON array, but they are actually given by a mapping. Fix the expected type.
1 parent 1d08ea4 commit f2f2899

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

t/t8001-util-ion-R.t

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -159,24 +159,24 @@ test_expect_success 'fluxion-R: can detect insufficient nodelist' '
159159

160160
test_expect_success 'fluxion-R: encoding properties on heterogeneity works' '
161161
cat <<-EOF >expected6 &&
162-
/cluster0 -1 []
163-
/cluster0/foo2 0 ["arm-v9@core"]
164-
/cluster0/foo2/core0 0 []
165-
/cluster0/foo2/core1 0 []
166-
/cluster0/foo2/gpu0 0 []
167-
/cluster0/foo2/gpu1 0 []
168-
/cluster0/foo3 2 ["arm-v9@core","amd-mi60@gpu"]
169-
/cluster0/foo3/core0 2 []
170-
/cluster0/foo3/core1 2 []
171-
/cluster0/foo3/gpu0 2 []
172-
/cluster0/foo3/gpu1 2 []
173-
/cluster0/foo1 3 ["arm-v9@core","amd-mi60@gpu"]
174-
/cluster0/foo1/core0 3 []
175-
/cluster0/foo1/core1 3 []
176-
/cluster0/foo1/gpu0 3 []
177-
/cluster0/foo1/gpu1 3 []
178-
/cluster0/foo4 1 ["arm-v8@core"]
179-
/cluster0/foo4/core0 1 []
162+
/cluster0 -1 {}
163+
/cluster0/foo2 0 {"arm-v9@core":""}
164+
/cluster0/foo2/core0 0 {}
165+
/cluster0/foo2/core1 0 {}
166+
/cluster0/foo2/gpu0 0 {}
167+
/cluster0/foo2/gpu1 0 {}
168+
/cluster0/foo3 2 {"arm-v9@core":"","amd-mi60@gpu":""}
169+
/cluster0/foo3/core0 2 {}
170+
/cluster0/foo3/core1 2 {}
171+
/cluster0/foo3/gpu0 2 {}
172+
/cluster0/foo3/gpu1 2 {}
173+
/cluster0/foo1 3 {"arm-v9@core":"","amd-mi60@gpu":""}
174+
/cluster0/foo1/core0 3 {}
175+
/cluster0/foo1/core1 3 {}
176+
/cluster0/foo1/gpu0 3 {}
177+
/cluster0/foo1/gpu1 3 {}
178+
/cluster0/foo4 1 {"arm-v8@core":""}
179+
/cluster0/foo4/core0 1 {}
180180
EOF
181181
flux R encode -r 0 -c 0-1 -g 0-1 -p "arm-v9@core:0" -H foo2 > out6 &&
182182
flux R encode -r 1 -c 0 -H foo3 -p "arm-v8@core:1" >> out6 &&

0 commit comments

Comments
 (0)