-
Notifications
You must be signed in to change notification settings - Fork 195
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
StackRendererTest should remove the used window before each test #668
Conversation
Test Results 1 815 files ±0 1 815 suites ±0 1h 29m 42s ⏱️ -50s For more details on these failures and errors, see this check. Results for commit 323ea9c. ± Comparison against base commit 8a8979f. ♻️ This comment has been updated with latest results. |
7a17dae
to
fa75317
Compare
After having written tests in StackRendererTest in #689, I'm able to understand and review this PR. |
Thanks @marcushoepfner IIRC is noticed this while looking for potential places for unit tests for the onboarding stuff. Version update is done in 692 |
Can this be merged? |
This PR shows 10 commits and 60 changed files. I guess something is wrong here. Can we have one commit rebased on top of master? |
Yes, not sure that happened here. Will update or abondon. |
d2d198f
to
3f1ef79
Compare
@vogella: Any updates here? |
@After | ||
public void cleanUp() throws Exception { | ||
ems.deleteModelElement(partStack); | ||
ems.deleteModelElement(window); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laeubi why does github think this is JRE 11 source? (line 173)
3f1ef79
to
747ad3f
Compare
747ad3f
to
00e131f
Compare
00e131f
to
c7e1056
Compare
@vogella: What's the state of this PR? |
d2728ce
to
39a8a86
Compare
39a8a86
to
323ea9c
Compare
StackRendererTest should remove the used window before each test Before this change the the model elements were not removed after a test.
323ea9c
to
973f1ad
Compare
I have rebased. Let's wait for the results and merge this afterwards. |
Thanks @marcushoepfner and @hannesN for finishing this one. The change is (of course) fine with me. |
Was it intended that this PR is merged despite test failures on MacOS? Subsequent PRs show test failures in The final GitHub Actions run for MacOS of this PR before merging shows the same test failures in the logs (https://github.com/eclipse-platform/eclipse.platform.ui/actions/runs/11103802200/job/30846537413), so I guess they were introduced by this PR.
|
IIRC everything was green before the merge. Now it looks like this memory was is. We should obviously not merge PR with new test errors. I will revert |
During debugging of this test I realized that we never cleanup the model elements after a test, add this to the test method.