-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add storage resources during automated tests for setup and upgrade. Ingest storage data during automated tests. Add regression tests and refactor the other usage explorer CSV regression tests. Update output data for related integration tests. Fix bug in CSV exports that caused an error when exporting an empty data set. Add ordering to realm queries to ensure consistent ordering of realms in the usage explorer.
- Loading branch information
Showing
853 changed files
with
92,285 additions
and
934 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 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
38 changes: 38 additions & 0 deletions
38
open_xdmod/modules/xdmod/integration_tests/scripts/xdmod-upgrade-add-storage-resources.tcl
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,38 @@ | ||
#!/usr/bin/env expect | ||
# Expect script that runs xdmod-setup to add storage resources to an already | ||
# installed Open XDMoD instance. | ||
|
||
#------------------------------------------------------------------------------- | ||
# Configuration settings for the XDMoD resources | ||
set resources [list] | ||
lappend resources [list recex Recex tape 0 0] | ||
lappend resources [list torx Torx stgrid 0 0] | ||
|
||
# Load helper functions from helper-functions.tcl | ||
source [file join [file dirname [info script]] helper-functions.tcl] | ||
|
||
#------------------------------------------------------------------------------- | ||
# main body | ||
|
||
set timeout 240 | ||
spawn "xdmod-setup" | ||
|
||
selectMenuOption 4 | ||
foreach resource $resources { | ||
selectMenuOption 1 | ||
provideInput {Resource Name:} [lindex $resource 0] | ||
provideInput {Formal Name:} [lindex $resource 1] | ||
provideInput {Resource Type*} [lindex $resource 2] | ||
provideInput {How many nodes does this resource have?} [lindex $resource 3] | ||
provideInput {How many total processors (cpu cores) does this resource have?} [lindex $resource 4] | ||
} | ||
|
||
selectMenuOption s | ||
confirmFileWrite yes | ||
enterToContinue | ||
confirmFileWrite yes | ||
enterToContinue | ||
selectMenuOption q | ||
|
||
lassign [wait] pid spawnid os_error_flag value | ||
exit $value |
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
Oops, something went wrong.