Skip to content

Fix intermittent badge::update_crate. #547

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
merged 3 commits into from
Feb 10, 2017

Conversation

Susurrus
Copy link
Contributor

@Susurrus Susurrus commented Feb 7, 2017

Failure introduced in 4ce099b.

Closes #546

@Susurrus
Copy link
Contributor Author

Susurrus commented Feb 7, 2017

The first commit should fix the intermittent failures bug but I got frustrated when I was extending these badge tests originally because it was all one big test with a lot of continuing state throughout the test. I added the second commit (which I'll be fixing tonight) to break these up into better stop understand tests. There were also some things that weren't properly tested in the old huge test (like a test for adding an appveyor badge without a required field), so I added those tests in this refactoring. If you'd rather I break them out as a separate commit I can do that as well.

@carols10cents
Copy link
Member

I'm fine having it in the same PR, I'm just not going to merge it til you've got the tests passing, whenever you have a chance is fine! :)

@Susurrus
Copy link
Contributor Author

Susurrus commented Feb 8, 2017

Will do, now that you documented the pgsql stuff (thanks, btw!), I'll get the tests working locally instead of trying to just use Travis to do everything! Very slow that way.

bors added a commit to rust-lang/cargo that referenced this pull request Feb 8, 2017
Correct capitalization of GitLab

Never realized this is how they spelled it when I added these docs. Equivalent changes are pending for `crates.io` in rust-lang/crates.io#547
@Susurrus
Copy link
Contributor Author

Susurrus commented Feb 8, 2017

@carols10cents got tests working locally which sped things up and I think this PR should be good to go. I snuck in a GitLab capitalization fix that is also necessary.

@carols10cents
Copy link
Member

Awesome, looks great!

@carols10cents carols10cents merged commit 9504ba8 into rust-lang:master Feb 10, 2017
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