Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2013-02-06 23:53:54 -0500
committerSergey Prigogin2013-02-07 13:33:59 -0500
commit90621dde7e6c37a31b77f82372e33840ab311f77 (patch)
tree46fa56c992b9aec8e10b27b2af4197a5d31c4636
parent96eec067e6f50787e820de1becca1d93e8c5b220 (diff)
downloadorg.eclipse.cdt-90621dde7e6c37a31b77f82372e33840ab311f77.tar.gz
org.eclipse.cdt-90621dde7e6c37a31b77f82372e33840ab311f77.tar.xz
org.eclipse.cdt-90621dde7e6c37a31b77f82372e33840ab311f77.zip
Added a comment.
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCompositeTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCompositeTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCompositeTests.java
index fdd1562b34..c612cdabf6 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCompositeTests.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCompositeTests.java
@@ -88,6 +88,7 @@ public class IndexCompositeTests extends BaseTestCase {
IIndexManager indexManager = CCorePlugin.getIndexManager();
indexManager.setIndexerId(result, IPDOMManager.ID_FAST_INDEXER);
if (lastFile != null) {
+ // Call reindex explicitly since setting indexer ID doesn't trigger reindexing.
indexManager.reindex(result);
IIndex index= indexManager.getIndex(result);
TestSourceReader.waitUntilFileIsIndexed(index, lastFile, INDEXER_TIMEOUT_SEC * 1000);

Back to the top