another attempt for more ca problems reproduction#3700
Conversation
|
@LorenzoBettini wdyt about this holzhammer change |
LorenzoBettini
left a comment
There was a problem hiding this comment.
I seem to understand that this does not fix the problem for good. The last but one commit still has a failure, hasn't it?
Feel free to merge, but I think this just increases chances to avoid flakiness due to delays...
It might still be good to extract some methods into our testing library or maybe add some of the wait conditions in waitForBuild itself.
|
@LorenzoBettini well i had 20 green runs on ci and the one failing was not in the content assist test and no i dont have time to refactor. i need to use that time to sleep :( |
|
OK, please feel free to merge. And thanks for all the work. :) As I said, all the operations about waiting and so on don't make sense to me. I mean, I don't understand them; I only think they delay the execution, reducing the likelihood of flakiness. Retrying the search in the JDT index, after specifying that we want the index to be ready, also doesn't make sense: if we need to retry the query, it means there's a bug in JDT. I think Eclipse, JDT, PDE just don't provide reliable synchronization mechanisms for testing purposes and do tons of things asynchronously. Unfortunately, in our IDE tests, we "stress" all these mechanisms a lot ;) cc @szarnekow |
|
so the alternative would be to delete all flaky tests |
No: what I suggested in the ticket was to re-enable the surefire rerun option ONLY in test projects that exhibit flakiness. But, as I said, let's keep this and merge it, since it contains interesting code and experiments that might be used in the future in the testing library. In the future, we could also think of a more involved
Including some additional utilities like |
No description provided.