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

test_gem.rb - intermittent failure fix #2613

Merged
1 commit merged into from Jan 31, 2019

Conversation

MSP-Greg
Copy link
Contributor

@MSP-Greg MSP-Greg commented Jan 30, 2019

Description:

Update assert_self_install_permissions method to hopefully stop intermittent failures

File.open -> File.write, move directory creation to top

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.

assert_self_install_permissions
File.open -> File.write ?
@MSP-Greg
Copy link
Contributor Author

See PR #2568 aeb353f, PR #2605 e7ab095

Hopefully, third time's a charm...

@hsbt
Copy link
Member

hsbt commented Jan 31, 2019

seems good. Thanks.

@hsbt
Copy link
Member

hsbt commented Jan 31, 2019

@bundlerbot r+

ghost pushed a commit that referenced this pull request Jan 31, 2019
2613: test_gem.rb - intermittent failure fix r=hsbt a=MSP-Greg

# Description:

Update assert_self_install_permissions method to hopefully stop intermittent failures

File.open -> File.write, move directory creation to top

# Tasks:

- [X] Describe the problem / feature
- [ ] Write tests
- [X] 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).


Co-authored-by: MSP-Greg <greg.mpls@gmail.com>
@MSP-Greg
Copy link
Contributor Author

@hsbt

A little off topic. Seeing the 'allow failure' in trunk on Travis, I noticed that Travis CI is using Trusty/14.04, which uses OpenSSL 1.0.1 (EOL 2016-12?). Are you ok with updating to Xenial/16.04 (OpenSSL 1.0.2)?

@ghost
Copy link

ghost commented Jan 31, 2019

Build succeeded

@ghost ghost merged commit 5fbebd7 into rubygems:master Jan 31, 2019
@hsbt
Copy link
Member

hsbt commented Jan 31, 2019

@MSP-Greg It's welcomed if it resolves failure status of ruby-trunk on Travis.

@MSP-Greg
Copy link
Contributor Author

Add 2.6.0 ? If yes, both 'rubygems' & 'bundler'?

@MSP-Greg
Copy link
Contributor Author

MSP-Greg commented Jan 31, 2019

@hsbt,

Just saw the failures in Appveyor & Travis. I give up. The only thing left is more timeouts within the 'create folders'/'create files' code...

Running Xenial & 2.6.0 in my fork right now...

@MSP-Greg MSP-Greg deleted the fix-intermittent-un-stable branch February 15, 2019 20:50
@hsbt hsbt added this to the 3.0.4 milestone Jun 11, 2019
hsbt pushed a commit that referenced this pull request Jun 13, 2019
2613: test_gem.rb - intermittent failure fix r=hsbt a=MSP-Greg

# Description:

Update assert_self_install_permissions method to hopefully stop intermittent failures

File.open -> File.write, move directory creation to top

# Tasks:

- [X] Describe the problem / feature
- [ ] Write tests
- [X] 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).


Co-authored-by: MSP-Greg <greg.mpls@gmail.com>
This pull request was closed.
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.

None yet

3 participants