-
Notifications
You must be signed in to change notification settings - Fork 50
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
test(spin): add more integration tests #181
Conversation
This commit adds an integration test for spin-keyvalue using dynamic config file that was introduced by deislabs#179 and an integraion test for outbound redis introduced by deislabs#117 Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
08a475d
to
ead200b
Compare
Could you please take a look? @jsturtevant |
@@ -223,7 +223,7 @@ impl SpinEngine { | |||
let mut runtime_config = RuntimeConfig::new(PathBuf::from("/").into()); | |||
// Load in runtime config if one exists at expected location | |||
if Path::new(RUNTIME_CONFIG_PATH).exists() { | |||
runtime_config.merge_config_file(RUNTIME_CONFIG_PATH); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought: We chatted about this yesterday, but we could make RUNTIME_CONFIG_PATH
an env (defaults to the root) and set an env in the yaml that points to a different location. not blocking, just an option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I remember this discussion. I can work on this in another PR. (nit: I prefer SPIN_RUNTIME_CONFIG_PATH
)
LGTM |
This commit adds an integration test for spin-keyvalue using dynamic config file that was introduced by #179 and an integraion test for outbound redis introduced by #117
Closes #127