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

Reset hooks in test cases #2297

Merged
merged 1 commit into from
Jun 8, 2018
Merged

Reset hooks in test cases #2297

merged 1 commit into from
Jun 8, 2018

Conversation

segiddins
Copy link
Member

Description:

Closes #2296. cc @MSP-Greg

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

@MSP-Greg
Copy link
Contributor

@segiddins

Thanks. Re the Appveyor fails, I've got an issue filed there with a script that updates all their ruby builds.

There may still be intermittent failures due to file artifacts; I wasn't sure if 'cleaning' them (disk I/O) in lib/rubygems/test_case.rb teardown would increase test time too much.

Previously, I was cleaning them on a test method basis, probably be easier and more maintainable if they were cleaned in 'local teardown' (on a test file basis).

I've seen issues when disk I/O slows down Appveyor, not sure about Travis.

@hsbt
Copy link
Member

hsbt commented Jun 8, 2018

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 28e9961 has been approved by hsbt

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 28e9961 with merge a2e1627...

bundlerbot added a commit that referenced this pull request Jun 8, 2018
Reset hooks in test cases

# Description:

Closes #2296. cc @MSP-Greg

# Tasks:

- [ ] Describe the problem / feature
- [ ] Write tests
- [ ] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
@bundlerbot
Copy link
Collaborator

💔 Test failed - status-travis

@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: hsbt
Pushing a2e1627 to master...

@bundlerbot bundlerbot merged commit 28e9961 into master Jun 8, 2018
@hsbt hsbt deleted the segiddins/reset-hooks branch June 8, 2018 10:40
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.

5 participants