-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update flux run command. * Update get_flux_cmd and add get_flux_alloc. Use these functions in all cases. * Update get_flux_alloc and test_definitions.py to work for testing. * Update actual flux version. * Update CHANGELOG.md with flux version. * Change DEFAULT_FLUX_VERSION . * Fix-style * Return to default flux run in scriptadapter. * fix bugs for stop-workers and schema validation fix bugs for stop-workers and schema validation fix all flags for stop-workers fix small bug with schema validation modify CHANGELOG run fix-style add myself to contributors list decouple celery logic from main remove unused import make changes Luc requested in PR * Fix batch flux exe and have test flux script return version as well. * Make sure test flux decalres itself. Fix flux alloc full path call. * Make sure qsub emits fake info. Check for flux or qsub in env for testing before adding the fake command. * Move fake commands to test directory * Remove unneeded f-string. * Change the scheduler check output strings to be more descriptive. --------- Co-authored-by: Brian Gunnarson <brianfunnarson14@gmail.com>
- Loading branch information
Showing
10 changed files
with
65 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env python3 | ||
import sys | ||
|
||
|
||
if len(sys.argv) > 1 and sys.argv[1] == 'version': | ||
print("commands: 0.48.0\n<This is a fake flux for testing>") | ||
else: | ||
print("Nodes\n<This is a fake flux for testing>") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
echo "pbs_version = 19.0.0\n<This is a fake qsub for testing>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters