Skip to content

Rails 6: Workaround for randomly failing schema test #801

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

Merged

Conversation

aidanharan
Copy link
Contributor

The test ActiveRecordSchemaTest#test_has_primary_key is randomly failing (see https://travis-ci.org/github/rails-sqlserver/activerecord-sqlserver-adapter/jobs/683462468). To recreate the issue checkout commit 66db048 and run test with command SEED=7965 bundle exec rake test.

The column information for the table must be already set from previous test sometimes.

@aidanharan aidanharan marked this pull request as ready for review May 7, 2020 14:21
@wpolicarpo wpolicarpo merged commit 6064f93 into rails-sqlserver:6-0-dev May 7, 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