eclipse / lsp4e

Language Server Protocol support in Eclipse IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Master build broken due to failed unit test

ghentschke opened this issue · comments

The CI build job fails due to a filed unit test:

array lengths differed, expected.length=3 actual.length=0; arrays first differed at element [0]; expected:<StyleRange {0, 4, fontStyle=normal, foreground=Color {133, 153, 0, 255}}> but was:<end of array>

The failed test is

Has anyone an idea why this test is now failing?

@ghentschke Can you reproduce the failure locally? Can you find the offending change that has triggered it?

Yes, I can reproduce it on my machine. I'll take a look.

This test failure has been caused by a commit in tm4e. I opened this tm4e issue, but I am not sure if its should be fixed in tm4e or in lsp4e.

It could be fixed in lp4e by #940

Fixing one issue and two others popping up. This unit test seems to be flaky. They fail with Widget is disposed error.