mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Obtain indexer timeout for tests from indexer.timeout system property.
This commit is contained in:
parent
372f3ef066
commit
566e4fdca9
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ import org.eclipse.core.runtime.NullProgressMonitor;
|
|||
import org.eclipse.core.runtime.jobs.Job;
|
||||
|
||||
public class BaseTestCase extends TestCase {
|
||||
protected static final int INDEXER_TIMEOUT_SEC = 10;
|
||||
private static final String DEFAULT_INDEXER_TIMEOUT_SEC = "10";
|
||||
private static final String INDEXER_TIMEOUT_PROPERTY = "indexer.timeout";
|
||||
protected static final int INDEXER_TIMEOUT_SEC =
|
||||
Integer.parseInt(System.getProperty(INDEXER_TIMEOUT_PROPERTY, DEFAULT_INDEXER_TIMEOUT_SEC));
|
||||
private boolean fExpectFailure;
|
||||
private int fBugNumber;
|
||||
private int fExpectedLoggedNonOK;
|
||||
|
|
Loading…
Add table
Reference in a new issue