You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DEFAULT section currently works, however, only if the line is completely omitted. If you leave the variable unset, the harness code complains during reconciliation. Some logic could pull the value from the defaults if variable is unset in the environment (possibly continue throwing an error if there are other issues).
The text was updated successfully, but these errors were encountered:
Also, improve the messaging when an obtain_from_environment is not found. For example ERROR: This test requires the environment variable RGT_NODES to be set., vs something more like ConfigParser error: nodes = <obtain_from_environment> is not found
Should this actually be accomplished in the machine.ini file, rather than the test's .ini file? Because of #183 , we can now define arbitrary environment variables globally, including default values for things like RGT_NODES or other variables. These are overridden by whatever is set by the user.
If the reconcile fails here
olcf-test-harness/harness/machine_types/rgt_test.py
Line 521 in 816d6a7
Could we grab a default value from a [DEFAULT] section in the config?
For example:
The DEFAULT section currently works, however, only if the line is completely omitted. If you leave the variable unset, the harness code complains during reconciliation. Some logic could pull the value from the defaults if variable is unset in the environment (possibly continue throwing an error if there are other issues).
The text was updated successfully, but these errors were encountered: