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

Assume sqlplus as oracle_session as default for mock environments #2057

Merged
merged 1 commit into from
Aug 14, 2017

Conversation

chris-rock
Copy link
Contributor

This fixes cases where inspec check was executed but failed because the mock environment is not checking for real binaries

bin = @sqlcl_bin
opts = "set sqlformat csv\nSET FEEDBACK OFF"
p = :parse_csv_result
else inspec.command(@sqlplus_bin).exist?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @adamleff I am going to fix this

@chris-rock
Copy link
Contributor Author

This PR requires inspec/train#187 to be merged before it will turn into green

…e will catch this missing cli but it prevents inspec check from failing if sqlplus is not available

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@adamleff adamleff added the Type: Bug Feature not working as expected label Aug 14, 2017
Copy link
Contributor

@adamleff adamleff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @chris-rock!

@adamleff adamleff merged commit 427f3e9 into master Aug 14, 2017
@adamleff adamleff deleted the chris-rock/ora-mock branch August 14, 2017 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants