Wait for refresh job at FileBufferFunctions.tearDown()#3825
Wait for refresh job at FileBufferFunctions.tearDown()#3825trancexpress merged 1 commit intoeclipse-platform:masterfrom
Conversation
|
Normally the test listener is notified with this stack trace: At The listener should be notified on
|
...lipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java
Outdated
Show resolved
Hide resolved
|
Failed test is: #2622 |
|
Repeating the test case many times via The test code mentions: https://bugs.eclipse.org/bugs/show_bug.cgi?id=409810 Output from the logging: A run from Eclipse that passes has this logging: The delta is the same, but its sent by this thread in the fail case: In the pass case its from the During 100 executions, I see the refresh job is triggered during two tests: It seems to not be always triggered. I'm not sure if the added logging here actually helps with reproduction. |
d12a109 to
cc02776
Compare
|
The Windows delete problem occurred: Then maybe a follow-up error: I don't know this fail though: |
|
Another fail due to resource deletion: And this fail: #3581 |
FileBuffersForFilesInLinkedFolders.test16_3() fails infrequently during CI jobs, the fail indicates a missing resource delta notification. RefreshJob is triggered during file buffer operations in test2 and test6, and can notify test listeners of deltas. To avoid this potential problem, this change adds a wait for the refresh family at: tearDown() See: eclipse-platform#2528
|
Lets see if this helps, if not I guess we add resource delta logging as initially intended... |
FileBuffersForFilesInLinkedFolders.test16_3()fails infrequently during CI jobs, the fail indicates a missing resource delta notification.RefreshJobis triggered during file buffer operations intest2andtest6, and can notify test listeners of deltas. To avoid this potential problem, this change adds a wait for the refresh family at:tearDown()See: #2528