Skip to content

Commit 618cef7

Browse files
committed
ci: use dds-info --wait instead of sleep in smoke test
1 parent b9f46d0 commit 618cef7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ jobs:
9393
- name: DDS smoke test
9494
run: |
9595
sind exec odc -- bash -lc '
96-
set -x
96+
set -ex
9797
echo "HOME=$HOME"
9898
dds-session start
9999
dds-submit -r slurm -n 2 --slots 18 -c /data/tests/slurm.cfg
100-
sleep 5
100+
echo "Waiting for 36 idle slots..."
101+
dds-info --idle-count --wait 36
101102
dds-info -l
102103
dds-info -n
103104
dds-session stop

0 commit comments

Comments
 (0)