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

Make it possible to update all tests in one go #5857

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

systay
Copy link
Collaborator

@systay systay commented Feb 25, 2020

No description provided.

Copy link
Member

@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

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

This is good as we will be modifying the plan often now. :)
I re-ran the failed build.
If everything goes green. We can merge.

if fail && tempDir != "" {
gotFile := fmt.Sprintf("%s/%s", tempDir, filename)
ioutil.WriteFile(gotFile, []byte(strings.TrimSpace(expected.String())+"\n"), 0644)
fmt.Println(fmt.Sprintf("Errors found in plantests. Run `cp %s/* testdata/` to update test expectations", tempDir))
Copy link
Member

Choose a reason for hiding this comment

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

nit: We can add "if the actual output is correct then Run ... "

Copy link
Member

@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

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

LGTM

@harshit-gangal
Copy link
Member

DCO and Travis is stuck somehow. Needs these 2 to be green before merge can be done.

@systay systay merged commit 7f1dae8 into vitessio:master Feb 28, 2020
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.

2 participants