mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Failing test case for bug 253080.
This commit is contained in:
parent
a28d15d9cc
commit
d9a42eb002
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ public class IndexBugsTests extends BaseTestCase {
|
||||||
StringBuffer[] help= TestSourceReader.getContentsForTest(
|
StringBuffer[] help= TestSourceReader.getContentsForTest(
|
||||||
CTestPlugin.getDefault().getBundle(), "parser", getClass(), getName(), blocks);
|
CTestPlugin.getDefault().getBundle(), "parser", getClass(), getName(), blocks);
|
||||||
String[] result= new String[help.length];
|
String[] result= new String[help.length];
|
||||||
int i=0;
|
int i= 0;
|
||||||
for (StringBuffer buf : help) {
|
for (StringBuffer buf : help) {
|
||||||
result[i++]= buf.toString();
|
result[i++]= buf.toString();
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@ public class IndexBugsTests extends BaseTestCase {
|
||||||
long waitms= 1;
|
long waitms= 1;
|
||||||
while (waitms < 2000 && indexManager.isIndexerSetupPostponed(fCProject)) {
|
while (waitms < 2000 && indexManager.isIndexerSetupPostponed(fCProject)) {
|
||||||
Thread.sleep(waitms);
|
Thread.sleep(waitms);
|
||||||
waitms*=2;
|
waitms *= 2;
|
||||||
}
|
}
|
||||||
assertTrue(indexManager.joinIndexer(INDEX_WAIT_TIME, NPM));
|
assertTrue(indexManager.joinIndexer(INDEX_WAIT_TIME, NPM));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue