Skip to content

Automating sanity testing for flux-core #6177

Answered by grondo
wspear asked this question in Q&A
Discussion options

You must be logged in to vote

If you run flux start COMMAND then the Flux test session will run COMMAND and 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 SCRIPT and in the script ensure a 2 node "job" works.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wspear
Comment options

Answer selected by wspear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants