Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove explicit pytest flux start, because FluxExecutor does the real flux start #3511

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

benclifford
Copy link
Collaborator

@benclifford benclifford commented Jul 3, 2024

Prior to this PR, flux pytests were run inside a flux start command; but inside that, FluxExecutor does its owns flux start - see here

DEFAULT_LAUNCH_CMD = "{flux} start {python} {manager} {protocol} {hostname} {port}"

This second, inner flux is what is used to execute tasks as if it was a batch allocation on a cluster.

So the outer pytest flux is only used to run the coordinating test workflow and launch that inner flux, as if it were on a submitting/login node. This is unnecessary.

cc @jameshcorbett @vsoch

@benclifford benclifford changed the title Don't start flux around pytest, because there are already one or two others Remove explicit pytest flux start, because FluxExecutor does the real flux start Jul 3, 2024
@benclifford benclifford marked this pull request as ready for review July 3, 2024 16:36
@benclifford benclifford requested a review from khk-globus July 12, 2024 15:24
@benclifford benclifford merged commit 74fe660 into master Jul 24, 2024
7 checks passed
@benclifford benclifford deleted the benc-fewer-fluxes branch July 24, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants