Also check for logStream.destroyed during test in case .end() was not called to close the logStream
Signed-off-by: ovalice <31350208+ovalice@users.noreply.github.com>
This commit is contained in:
@@ -204,6 +204,7 @@ describeIfKubernetes('KubernetesContainerRunner', () => {
|
||||
await containerRunner.runContainer(runOptions);
|
||||
|
||||
expect(logStream.writableEnded).toBe(false);
|
||||
expect(logStream.destroyed).toBe(false);
|
||||
});
|
||||
|
||||
describe('with namespace test', () => {
|
||||
|
||||
Reference in New Issue
Block a user