This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 148652 [details] Error log. Test org.openide.loaders.DataFolderTimeOrderTest.testLastModifiedOrderUpdatedAfterFileIsTouched fails from time to time on ubuntu. It fails both in NetBeans 8.0.1 and dev builds (JDK 8u11 and 7u65). If you know about changes which may cause such failures please fix it. I can not reproduce it manually. It fails only within suite of unit tests here: http://test4u.cz.oracle.com/job/StableBTD-8.0.1/ http://test4u.cz.oracle.com/job/StableBTD-trunk/
failing every other run of Nb-Core-Build also.
This could help. I was able to reproduce the fail with debugger's help, it's caused by a race condition between data folder's children refresh and node's children update. fixed: core-main #8c626dca5f1a
Integrated into 'main-silver', will be available in build *201412050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8c626dca5f1a User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #246405 - Failing org.openide.loaders.DataFolderTimeOrderTest Fixing failing test. The test should wait not only for a datafolder's refresh but also for the equivalent node's refresh. Listening on childrenReordered event seems to help.