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

Ensure env is done before inspecting output #509

Merged
merged 1 commit into from
Nov 10, 2017
Merged

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Nov 10, 2017

Summary

Fixes an intermittent build failure.

Details

Ensures the env command is done before inspecting its output.

Motivation and Context

Inspecting output without waiting for the command to be done sometimes causes the spec to fail because the desired output hasn't been produced yet. This caused intermittent Travis build failures. This problem is hard to reproduce locally.

How Has This Been Tested?

I made the change similar to how other tests are done in the same spec file. Travis will be the judge.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

@mvz mvz merged commit e7ea113 into master Nov 10, 2017
@mvz mvz deleted the fix-random-build-failure branch November 10, 2017 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant