private void createScript() throws Exception {
		script = new GhidraScript() {
			@Override
			public void run() throws Exception {
				// test stub
			}
		};
		script.set(state, ScriptControls.NONE);

		URL url = GhidraScriptTest.class.getResource("GhidraScriptAsk.properties");
		assertNotNull("Test cannot run without properties file!", url);
		File propertiesFile = new File(url.toURI());
		script.setPropertiesFile(propertiesFile);
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java