Skip to content

Commit 04835ad

Browse files
committed
testsuite: test resource graph reinitialization
Problem: elasticity tests don't include tests for resource graph reinitialization. Add tests.
1 parent baeac29 commit 04835ad

File tree

3 files changed

+147
-0
lines changed

3 files changed

+147
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
find sched-now=free
2+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
3+
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
4+
find status=up
5+
find sched-now=allocated
6+
find sched-future=reserved
7+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
8+
attach @TEST_SRCDIR@/data/resource/jgfs/elastic/node-add-test.json
9+
find status=up
10+
find sched-now=allocated
11+
find sched-future=reserved
12+
find sched-now=free
13+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
14+
find status=up
15+
find sched-now=allocated
16+
find sched-future=reserved
17+
find sched-now=free
18+
cancel 1
19+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
20+
find status=up
21+
find sched-now=allocated
22+
find sched-future=reserved
23+
match allocate @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
24+
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/elastic/test-ma-node.yaml
25+
find status=up
26+
find sched-now=allocated
27+
find sched-future=reserved
28+
quit

0 commit comments

Comments
 (0)