mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Place each test run in its own project
This helps add some isolation between tests in case background threads are accessing a project. However I am not sure this solves any of the actual outstanding flaky tests. Part of #117
This commit is contained in:
parent
f8dee45ba3
commit
7673c856b6
1 changed files with 3 additions and 2 deletions
|
@ -103,8 +103,9 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
fCppProject = CProjectHelper.createCCProject("indexUpdateTestsCpp", null, IPDOMManager.ID_FAST_INDEXER);
|
||||
fCProject = CProjectHelper.createCProject("indexUpdateTestsC", null, IPDOMManager.ID_FAST_INDEXER);
|
||||
fCppProject = CProjectHelper.createCCProject("indexUpdateTestsCpp_" + getName(), null,
|
||||
IPDOMManager.ID_FAST_INDEXER);
|
||||
fCProject = CProjectHelper.createCProject("indexUpdateTestsC_" + getName(), null, IPDOMManager.ID_FAST_INDEXER);
|
||||
waitForIndexer(fCppProject);
|
||||
waitForIndexer(fCProject);
|
||||
fIndex = CCorePlugin.getIndexManager().getIndex(new ICProject[] { fCProject, fCppProject });
|
||||
|
|
Loading…
Add table
Reference in a new issue