fix: keep pod log streams alive
This commit is contained in:
@@ -58,7 +58,7 @@ describe("logs API command runner", () => {
|
||||
},
|
||||
]);
|
||||
expect(output).toEqual([
|
||||
["web", "ready", false],
|
||||
["web-1", "ready", false],
|
||||
["web api", "disconnected", true],
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -650,7 +650,7 @@ describe("LogService", () => {
|
||||
expect(error).toMatchObject({
|
||||
pod: "web-abc",
|
||||
container: "web",
|
||||
retryable: false,
|
||||
retryable: true,
|
||||
});
|
||||
expect(error?.message).toMatch(
|
||||
/socket.*connection.*closed|socket hang up|fetch failed/i,
|
||||
|
||||
Reference in New Issue
Block a user