Skip to content

Commit

Permalink
testsuite: add tests for grow_allocate
Browse files Browse the repository at this point in the history
  • Loading branch information
milroy committed Feb 14, 2025
1 parent 7533d8d commit dea3fdd
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/data/resource/commands/elastic/cmds10.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
match allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml
find sched-now=allocated
match grow_allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml 1
match grow_allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml 1
find sched-now=allocated
quit
11 changes: 11 additions & 0 deletions t/data/resource/commands/elastic/cmds11.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
match allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml
find sched-now=allocated
match grow_allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml 1
find sched-now=allocated
attach @TEST_SRCDIR@/data/resource/jgfs/elastic/node-add-test.json
find status=up
match grow_allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml 1
match grow_allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml 1
match grow_allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test006.yaml 1
find sched-now=allocated
quit
Loading

0 comments on commit dea3fdd

Please sign in to comment.