final class LauncherUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
(package private) static org.eclipse.microprofile.config.Config |
installAndGetSomeConfig() |
(package private) static Process |
launchProcess(List<String> args)
Launches a process using the supplied arguments and makes sure the process's output is drained to standard out
|
(package private) static void |
updateConfigForPort(Integer effectivePort)
Updates the configuration necessary to make all test systems knowledgeable about the port on which the launched
process is listening
|
(package private) static ListeningAddress |
waitForCapturedListeningData(Process quarkusProcess,
Path logFile,
long waitTimeSeconds)
Waits (for a maximum of seconds) until the launched process indicates the address it is
listening on.
|
static org.eclipse.microprofile.config.Config installAndGetSomeConfig()
static Process launchProcess(List<String> args) throws IOException
IOExceptionstatic ListeningAddress waitForCapturedListeningData(Process quarkusProcess, Path logFile, long waitTimeSeconds)
IllegalStateException is thrown.static void updateConfigForPort(Integer effectivePort)
Copyright © 2021 JBoss by Red Hat. All rights reserved.