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 idempotency of schema migration #176

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

mcalmer
Copy link
Contributor

@mcalmer mcalmer commented Oct 3, 2018

What does this PR change?

fix idempotency of schema migration

Documentation

  • No documentation needed: internal

  • DONE

Test coverage

  • No tests: fixes test

  • DONE

@juliogonzalez
Copy link
Member

gitarro no changelog needed !!!

@uyuni-project uyuni-project deleted a comment from juliogonzalez Oct 3, 2018
Copy link
Member

@juliogonzalez juliogonzalez left a comment

Choose a reason for hiding this comment

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

LGTM, but please do not merge yet.

I see java_pgsql_tests is failing, but according to the log, gitarro runs this test with -f java/, which means it should only run if files inside java/ directory are changed, which is not the case for this PR.

@MalloZup any idea?

@juliogonzalez
Copy link
Member

And besides, even if this PR does not change java/ I can't see why the test is failing :-(

@MalloZup
Copy link
Contributor

MalloZup commented Oct 3, 2018

we might open an issue with this PR referenced for further debugging

@mcalmer
Copy link
Contributor Author

mcalmer commented Oct 3, 2018

@juliogonzalez while it is goog to know why it is running even if it should not, I would suggest to run java tests always when the database schema changed.

@juliogonzalez
Copy link
Member

@mcalmer, I agree, but I think we need to patch gitarro for that, to support multiple filters (instead of having more jobs and more gitarro instances running).

@MalloZup
Copy link
Contributor

MalloZup commented Oct 3, 2018

@juliogonzalez i would freeze the jenkin jobs number/or create an issue with this PR ref.

It might just be because we missed the qoutes "" , this could have an impact also on the parser. I dunno we might need to take look 😄

@juliogonzalez
Copy link
Member

Job configured to be kept forever, and issue created at openSUSE/gitarro#132

Michael request about running java_pgsql_tests for SQL stuff generated the following feature request: openSUSE/gitarro#133

@juliogonzalez
Copy link
Member

gitarro rerun java_pgsql_tests!!!

@juliogonzalez
Copy link
Member

juliogonzalez commented Oct 3, 2018

I am not 100% sure but I would think this kind of fake failure was happening to Franky some days ago, and he ran the test until it got green. Could be an infra problem.

@juliogonzalez juliogonzalez mentioned this pull request Oct 4, 2018
4 tasks
@mcalmer mcalmer merged commit 4eea98a into uyuni-project:master Oct 4, 2018
@mcalmer mcalmer deleted the fix-idempotency branch August 6, 2019 13:41
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.

3 participants