-
Notifications
You must be signed in to change notification settings - Fork 563
Correcting tests #725
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
Correcting tests #725
Conversation
lcreid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome work. Thanks for fixing all these tests. I don't have any official standing in this gem, but I'm hoping my review gets the attention of the powers that be so they consider merging this PR.
Aside from my one question in the comments, I do have one concern: I only noticed this error a few weeks ago. I did some investigation in recent MiniTest releases, and it looks to me like we should have been seeing this error perhaps since last September? I could be wrong about that.
At any rate I'm curious about whether it was the change to MiniTest, or something has changed in the way ActiveRecord or the SQL Server Adapter works, and if so, is it an indication that it's not the tests that were broken, but rather the code? I'm hoping someone with more experience with this gem can weigh in.
I'm going to update your ticket with a few more thoughts related to the above.
But again, great work overall. Thanks for the PR.
|
@daveomcd you need to:
I hope this helps, but if not just keep asking questions. We're happy to help. |
|
Hey @daveomcd can I ask you to rebase this and resolve the conflicts so I can merge? |
My apologies I'll try working on it now. Things have been crazy! :( |
So... @wpolicarpo, I followed through everything and now I'm getting this message.
When I run git rebase --continue. Does this just mean I took so long that someone else already incorporated these changes? Ha. If that's the case my sincerest apologies! |
|
@daveomcd don't be sorry. You're helping and we need to thank you for that. First thing to do is to update your Some changes in your PR were already merged into master indeed, but there are other we can still integrate. So you need to For each step after resolving the conflicts you will need to add your changed back If you prefer, you can |
So @wpolicarpo, I believe I did many of those steps. Which gave me the following... I corrected them all then did... Which resulted in... |
|
@daveomcd it looks like you added a git commit in there instead of just continuing with the rebase after you added your corrections. You only needed to: You might reference this issue to see how you can reset your branch and allow you to continue with the rebase. https://stackoverflow.com/a/12163247/1245332 |
@tbonz thanks for the help. So I'm trying to get this going in between work. I attempted to resolve the issue by doing the following but still seeing the same results. At this point I went and corrected the conflicts and then proceeded with the following.
Then seeing the same no changes message below. I promise once I've graduated to the point past absolute newb at git I'll be able to contribute to more issues here without so many problems! Updated: Here's my git log as well if any of this provides context that is helpful. |
|
@daveomcd Can you try adding the files individually after saving them? It seems like the files are not getting staged before you continue. Maybe you try: and confirm the file is getting staged before you git rebase --continue |
@tbonz, Well the files that I need to resolve conflicts on I'm taking the "HEAD" changes each time. So that makes me think the message is correct, that there doesn't appear to be any changes. The conflicts were spots where they master uses paranthesis and I don't for my method arguments, etc. |
|
@daveomcd I was able to clone down your fork and successfully rebase onto the upstream master. I might recommend cloning your project down to a new directory and follow the steps again to rebase. Here's what I did.. Open editor and fix any conflicts (accept HEAD changes as you mentioned) in each file, and save! The next step would be to force push this back to origin. Let me know if this helps, or I could offer a meetup on google to assist any further. |
@tbonz oh man you're the best. Trying it now. Thanks so much for taking the time to teach me how to do this. |
|
@tbonz thanks! I think that worked. Only thing I noticed was I could probably consolidate my commits in my log. But I didn't due to I was nervous I'd screw it up again! But I can't do that next if necessary. @wpolicarpo thank you as well for helping me out. I look forward to trying to help out to another area and getting this process down. |
I took a shot at correcting the tests. Here are the current results, I didn't finish the Active Record tests as I'm not knowledgable enough to see what next steps should be taken place there.
Results from
bundle exec rake test ONLY_SQLSERVER=1Results from
bundle exec rake test ONLY_ACTIVERECORD=1