|
I'm working on the e4s testsuite which runs quick sanity-checks on spack-installed packages provided by e4s (https://e4s-project.github.io/). flux-core is one of those packages. Is there a good way to run a totally scripted test of a pre-installed flux-core? If I were testing manually I would do Flux can not be running in the test environment prior to executing the test script. Any ideas how I can proceed here? Thanks! |
Replies: 1 comment 1 reply
|
If you run It might be useful to run an instance with >1 broker, e.g. |
If you run
flux start COMMANDthen the Flux test session will runCOMMANDand exit with the exit status of the command.So you could use a script for COMMAND and run a few sanity commands, exiting with error on failure.
It might be useful to run an instance with >1 broker, e.g.
flux start --test-size=2 SCRIPTand in the script ensure a 2 node "job" works.