Bug 565696 - Test failures in I20200729-1800
Summary: Test failures in I20200729-1800
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-30 04:55 EDT by Noopur Gupta CLA
Modified: 2023-03-23 11:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noopur Gupta CLA 2020-07-30 04:55:47 EDT
java11_macosx
testStaticImports2

expected:<...kage test2; import [test1.A; public class B { public void bar() { A.]foo();//here } ...> but was:<...kage test2; import [static test1.A.foo; public class B { public void bar() { ]foo();//here } ...>

org.junit.ComparisonFailure: expected:<...kage test2;

import [test1.A;

public class B {
public void bar() {
A.]foo();//here
}
...> but was:<...kage test2;

import [static test1.A.foo;

public class B {
public void bar() {
]foo();//here
}
...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.jdt.text.tests.contentassist.CodeCompletionTest.testStaticImports2(CodeCompletionTest.java:2340)
Comment 1 Noopur Gupta CLA 2020-07-30 04:56:50 EDT
gtk3-java11_linux
markMethodExceptionOccurrences

java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:87)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertTrue(Assert.java:53)
at org.eclipse.jdt.text.tests.MarkOccurrenceTest.assertOccurrences(MarkOccurrenceTest.java:425)
at org.eclipse.jdt.text.tests.MarkOccurrenceTest.markMethodExceptionOccurrences(MarkOccurrenceTest.java:307)
...
Comment 2 Noopur Gupta CLA 2020-07-30 04:59:29 EDT
Both are successful on running locally.
Comment 3 Noopur Gupta CLA 2021-02-19 00:18:31 EST
(In reply to Noopur Gupta from comment #1)
> gtk3-java11_linux
> markMethodExceptionOccurrences
> 
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:87)
> at org.junit.Assert.assertTrue(Assert.java:42)
> at org.junit.Assert.assertTrue(Assert.java:53)
> at org.eclipse.jdt.text.tests.MarkOccurrenceTest.assertOccurrences(MarkOccurrenceTest.java:425)
> at org.eclipse.jdt.text.tests.MarkOccurrenceTest.markMethodExceptionOccurrences(MarkOccurrenceTest.java:307)
> ...

Failed in I20210217-1800 again.
Comment 4 Eclipse Genie CLA 2023-03-23 11:55:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.