Skip to content

Commit

Permalink
Place each test run in its own project
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jonahgraham committed Nov 5, 2022
1 parent fc7231a commit e665cb8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ public IndexUpdateTests(String name) {
@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 });
Expand Down

0 comments on commit e665cb8

Please sign in to comment.