Skip to content

Commit

Permalink
testsuite: add tests, commands, outputs for deferred_orelse_reserve
Browse files Browse the repository at this point in the history
  • Loading branch information
milroy committed Oct 10, 2023
1 parent 40534a7 commit e3b7a96
Show file tree
Hide file tree
Showing 27 changed files with 40,577 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/data/resource/commands/basics/cmds13.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 4x cluster[1]->rack[1]->node[1]->slot[1]->socket[1]->core[1]
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
quit
11 changes: 11 additions & 0 deletions t/data/resource/commands/basics/cmds14.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 4x cluster[1]->rack[1]->node[1]->slot[1]->socket[1]->core[1]
match allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test001.yaml
match allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test001.yaml
match allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test001.yaml
match allocate @TEST_SRCDIR@/data/resource/jobspecs/basics/test001.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/basics/test016.yaml
quit
52 changes: 52 additions & 0 deletions t/data/resource/commands/cancel/cmds03.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test018.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test019.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test020.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test021.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test022.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test023.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test024.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test025.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test026.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test027.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test028.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test029.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test030.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test031.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test032.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test033.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test034.yaml
cancel 1
cancel 2
cancel 3
cancel 4
cancel 5
cancel 6
cancel 7
cancel 8
cancel 9
cancel 10
cancel 11
cancel 12
cancel 13
cancel 14
cancel 15
cancel 16
cancel 17
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test018.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test019.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test020.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test021.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test022.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test023.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test024.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test025.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test026.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test027.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test028.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test029.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test030.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test031.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test032.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test033.yaml
match deferred_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/cancel/test034.yaml
quit
40 changes: 40 additions & 0 deletions t/data/resource/expected/basics/100.R.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---------------core35[1:x]
------------socket1[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=1
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=1800
INFO: =============================
---------------core17[1:x]
------------socket0[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=2
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=1800
INFO: =============================
---------------core35[1:x]
------------socket1[1:x]
---------node0[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=3
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=1800
INFO: =============================
---------------core17[1:x]
------------socket0[1:x]
---------node0[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=4
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=1800
INFO: =============================
90 changes: 90 additions & 0 deletions t/data/resource/expected/basics/101.R.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---------------core35[1:x]
------------socket1[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=1
INFO: RESOURCES=ALLOCATED
INFO: SCHEDULED AT=Now
INFO: =============================
---------------core17[1:x]
------------socket0[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=2
INFO: RESOURCES=ALLOCATED
INFO: SCHEDULED AT=Now
INFO: =============================
---------------core35[1:x]
------------socket1[1:x]
---------node0[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=3
INFO: RESOURCES=ALLOCATED
INFO: SCHEDULED AT=Now
INFO: =============================
---------------core17[1:x]
------------socket0[1:x]
---------node0[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=4
INFO: RESOURCES=ALLOCATED
INFO: SCHEDULED AT=Now
INFO: =============================
---------------core35[1:x]
------------socket1[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=5
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=3600
INFO: =============================
---------------core17[1:x]
------------socket0[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=6
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=3600
INFO: =============================
---------------core35[1:x]
------------socket1[1:x]
---------node0[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=7
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=3600
INFO: =============================
---------------core17[1:x]
------------socket0[1:x]
---------node0[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=8
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=3600
INFO: =============================
---------------core35[1:x]
------------socket1[1:x]
---------node1[1:s]
------rack0[1:s]
---tiny0[1:s]
INFO: =============================
INFO: JOBID=9
INFO: RESOURCES=RESERVED
INFO: SCHEDULED AT=7200
INFO: =============================
Loading

0 comments on commit e3b7a96

Please sign in to comment.