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

[Merged by Bors] - Fixes failing TestPeerInfoApi test on windows #4888

Closed
wants to merge 1 commit into from

Conversation

piersy
Copy link
Contributor

@piersy piersy commented Aug 21, 2023

Motivation

This fixes the TestPeerInfoApi test currently failing on our windows CI run.

Changes

Moved the call to t.Cleanup to close apps to be after any call to t.TempDir used to setup apps, this ensures that we first close apps, and then delete their temp dirs as opposed to vice-versa.

Test Plan

See that TestPeerInfoApi passes on the windows CI run.

@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Merging #4888 (101bea3) into develop (403f8c4) will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop   #4888     +/-   ##
=========================================
- Coverage     76.9%   76.8%   -0.1%     
=========================================
  Files          261     261             
  Lines        30259   30259             
=========================================
- Hits         23274   23265      -9     
- Misses        5485    5493      +8     
- Partials      1500    1501      +1     

see 5 files with indirect coverage changes

@dshulyak
Copy link
Contributor

bors merge

bors bot pushed a commit that referenced this pull request Aug 22, 2023
## Motivation
This fixes the `TestPeerInfoApi` test currently failing on our windows CI run.

## Changes
Moved the call to `t.Cleanup` to close apps to be after any call to `t.TempDir` used to setup apps, this ensures that we first close apps, and then delete their temp dirs as opposed to vice-versa.

## Test Plan
See that `TestPeerInfoApi` passes on the windows CI run.
@bors
Copy link

bors bot commented Aug 22, 2023

Pull request successfully merged into develop.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title Fixes failing TestPeerInfoApi test on windows [Merged by Bors] - Fixes failing TestPeerInfoApi test on windows Aug 22, 2023
@bors bors bot closed this Aug 22, 2023
@bors bors bot deleted the piersy/fix-TestPeerInfoApi-on-windows branch August 22, 2023 10:24
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