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

fix terratests #245

Merged
merged 1 commit into from
Jan 6, 2021
Merged

fix terratests #245

merged 1 commit into from
Jan 6, 2021

Conversation

kuritka
Copy link
Collaborator

@kuritka kuritka commented Jan 6, 2021

closes #211

The error was caused by t.Errorf(...) instead of t.Logf(...). Both print the message but Errorf sets property *testing.T.Failed to true which causes test fails although it passed.
t.Errorf(...) was executed in case the resource was not ready. That's why GHA is stable, while on local mac failed sometimes.

@kuritka kuritka requested a review from donovanmuller as a code owner January 6, 2021 16:12
@kuritka kuritka self-assigned this Jan 6, 2021
@kuritka kuritka merged commit 2c51186 into master Jan 6, 2021
@ytsarev
Copy link
Member

ytsarev commented Jan 6, 2021

@kuritka cool find, thanks a lot!

@kuritka kuritka deleted the 211-fix-terratest branch January 7, 2021 08:58
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.

terratests - Possible race condition
4 participants