| Summary: | [tests] Fix broken performance tests | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Paul Pazderski <paul-eclipse> |
| Component: | Debug | Assignee: | Paul Pazderski <paul-eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | sarika.sinha |
| Version: | 4.11 | ||
| Target Milestone: | 4.12 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/138598 https://git.eclipse.org/r/138599 https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=63d0fa90cfbcf48872b74720c68e7611344b412c https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=fefdf3218e30d555278df1fb51918ebf43377eef |
||
| Whiteboard: | |||
|
Description
Paul Pazderski
New Gerrit change created: https://git.eclipse.org/r/138598 (In reply to Eclipse Genie from comment #1) > New Gerrit change created: https://git.eclipse.org/r/138598 This change fixes the breakpoint positions for all jdt debug performance tests. Remember: some of those tests finished successfully before but were not executed as intended. That's why there may be some performance regression reported since after this change those tests actually measure performance again. E.g. testConditionalBreakpoints was on my test six times slower after the breakpoint is at its intended position again. New Gerrit change created: https://git.eclipse.org/r/138599 (In reply to Eclipse Genie from comment #3) > New Gerrit change created: https://git.eclipse.org/r/138599 The second problem is less clear for me. Apparently DebugUITools.launch registers the launch in ILaunchManager but does not remove it (at least not the way it is used). Inspired from ConsoleInputTests the change fix this problem by explicit removing the terminated launch. Alternatively you may simply remove all launches on test end like TestUtil.tearDown does. I will be able to look at these after Java 12 release. For the failing gerrit builds, increase the last segment of version by 100 in manifest and pom for the plugin as these are the first changes for 4.12. Gerrit change https://git.eclipse.org/r/138598 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=63d0fa90cfbcf48872b74720c68e7611344b412c Gerrit change https://git.eclipse.org/r/138599 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=fefdf3218e30d555278df1fb51918ebf43377eef Thanks Paul. I have not seen Performance test results last week. If we get a good result this week, we can verify this bug. Great. And please remember some previous successful tests where actual wrong so don't blame me prematurely for performance regressions. :) |