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

MAINT: Split test file in two to find hanging test. #5680

Merged
merged 1 commit into from
May 21, 2023

Conversation

Carreau
Copy link
Contributor

@Carreau Carreau commented Mar 28, 2023

It looks like some tests in test_qt_dims do hang sometime in CI. Though it's not clear which one with Pytest output.

This split the test into two file approximatively where the hang happens, so we can narrow down the problem.

This may help with #5443 maybe ?

@github-actions github-actions bot added qt Relates to qt tests Something related to our tests labels Mar 28, 2023
@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #5680 (4fd93f8) into main (9bd9d2f) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5680      +/-   ##
==========================================
- Coverage   89.81%   89.77%   -0.05%     
==========================================
  Files         611      612       +1     
  Lines       51558    51562       +4     
==========================================
- Hits        46309    46291      -18     
- Misses       5249     5271      +22     
Impacted Files Coverage Δ
napari/_qt/widgets/_tests/test_qt_dims.py 100.00% <ø> (ø)
napari/_qt/widgets/_tests/test_qt_dims_2.py 100.00% <100.00%> (ø)

... and 10 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions github-actions bot added the preferences Issues relating to the creation of new preference fields/panels label Apr 4, 2023
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #5680 (90b2015) into main (3868f5c) will decrease coverage by 1.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5680      +/-   ##
==========================================
- Coverage   89.86%   88.53%   -1.33%     
==========================================
  Files         615      616       +1     
  Lines       52474    52641     +167     
==========================================
- Hits        47158    46608     -550     
- Misses       5316     6033     +717     
Impacted Files Coverage Δ
napari/_qt/widgets/_tests/test_qt_dims.py 100.00% <ø> (ø)
napari/_qt/widgets/_tests/test_qt_dims_2.py 100.00% <100.00%> (ø)

... and 54 files with indirect coverage changes

@Carreau Carreau removed the preferences Issues relating to the creation of new preference fields/panels label Apr 5, 2023
@Carreau Carreau marked this pull request as ready for review April 5, 2023 07:44
@Carreau Carreau added the maintenance PR with maintance changes, label May 5, 2023
@Czaki
Copy link
Collaborator

Czaki commented May 11, 2023

@Carreau What did we should do here? It is ready for merge, or you would like to rerun it a few times to try to trigger the problem?

@Carreau
Copy link
Contributor Author

Carreau commented May 15, 2023

I've rebased. Even if it does not fail at least that should give us a hint if it's actually here in later PRs.

@Czaki
Copy link
Collaborator

Czaki commented May 16, 2023

The longer I think about this, it looks like merge this in the main could be a good idea, but it requires to put docstring that will describe when the file was split.

It looks like some tests in test_qt_dims do hang sometime in CI.
Though it's not clear which one with Pytest output.

This split the test into two file approximatively where the hang
happens, so we can narrow down the problem.

This may help with napari#5443 maybe ?
@Carreau
Copy link
Contributor Author

Carreau commented May 16, 2023

How about this ?

@Czaki Czaki added the ready to merge Last chance for comments! Will be merged in ~24h label May 16, 2023
@Czaki Czaki merged commit a48dc2d into napari:main May 21, 2023
32 of 34 checks passed
@Czaki Czaki removed the ready to merge Last chance for comments! Will be merged in ~24h label May 21, 2023
@Czaki Czaki mentioned this pull request Jun 7, 2023
@Czaki Czaki added this to the 0.5.0 milestone Jun 16, 2023
@Czaki Czaki added the triaged-0.4.18 To mark PR that is triaged in 0.4.18 release process label Jun 16, 2023
@Czaki Czaki modified the milestones: 0.5.0, 0.4.18 Jun 19, 2023
Czaki pushed a commit that referenced this pull request Jun 19, 2023
It looks like some tests in test_qt_dims do hang sometime in CI. Though
it's not clear which one with Pytest output.

This split the test into two file approximatively where the hang
happens, so we can narrow down the problem.

This may help with #5443 maybe ?
Czaki pushed a commit that referenced this pull request Jun 21, 2023
It looks like some tests in test_qt_dims do hang sometime in CI. Though
it's not clear which one with Pytest output.

This split the test into two file approximatively where the hang
happens, so we can narrow down the problem.

This may help with #5443 maybe ?
Czaki pushed a commit that referenced this pull request Jun 21, 2023
It looks like some tests in test_qt_dims do hang sometime in CI. Though
it's not clear which one with Pytest output.

This split the test into two file approximatively where the hang
happens, so we can narrow down the problem.

This may help with #5443 maybe ?
Czaki pushed a commit that referenced this pull request Jun 21, 2023
It looks like some tests in test_qt_dims do hang sometime in CI. Though
it's not clear which one with Pytest output.

This split the test into two file approximatively where the hang
happens, so we can narrow down the problem.

This may help with #5443 maybe ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes, qt Relates to qt tests Something related to our tests triaged-0.4.18 To mark PR that is triaged in 0.4.18 release process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants