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.

Bug 241882 - [regression] failed testRedFilesWhenReparseAndReopenProject210898
Summary: [regression] failed testRedFilesWhenReparseAndReopenProject210898
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-14 14:43 UTC by Vladimir Voskresensky
Modified: 2014-02-17 13:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2014-02-14 14:43:01 UTC
test is failing since http://hg.netbeans.org/cnd-main/rev/a11c8ee969d6
Comment 1 Maria Tishkova 2014-02-17 13:52:43 UTC
race condition: if we delete filepaths dictionary from the map even if we put it to the writer queue it can be updated before storing to disk and therefore the content will be broken
Introduced new method flush() for Storage and StorageManager which will be invoked on shutdown and it will put file paths dictionaries to the writer queue 

fixed in http://hg.netbeans.org/cnd-main/rev/65229ec80efc