Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(test-tooling): containers#getById and #waitForHealthCheck
Adds two utility functions to the class called Containers: 1. public static async waitForHealthCheck(containerId: string, timeoutMs: number = 180000): Promise<void> Awaits until a container identified by the containerId parameter becomes healthy. 2. public static async getById(containerId: string): Promise<ContainerInfo> Utility method to obtain the ContainerInfo typed object from the dockerode library that contains the status information of the container among other things. Fixes #471 Signed-off-by: Peter Somogyvari <[email protected]> (cherry picked from commit f52626e) Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information