private long getTestTimeout() {
		String timeoutOverrideString =
			System.getProperty(TEST_TIMEOUT_MILLIS_PROPERTY, null);
		if (timeoutOverrideString == null) {
			return TIMEOUT_MILLIS;
		}

		try {
			long timeout = Long.parseLong(timeoutOverrideString);
			Msg.info(this, "Using test timeout override value " + timeout + "ms");
			return timeout;
		}
		catch (NumberFormatException e) {
			Msg.error(this,
				"Unable to parse " + TEST_TIMEOUT_MILLIS_PROPERTY + " Long value '" +
					timeoutOverrideString + "'");
		}
		return TIMEOUT_MILLIS;
	}
The time period after which a test will be forcibly terminated
Ghidra/Framework/Generic/src/main/java/generic/test/ConcurrentTestExceptionStatement.java