locking test improvements

pull/496/head
Frostebite 2023-02-13 23:36:59 +00:00
parent 69f3a87d5d
commit 31669663bc
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -1728,7 +1728,7 @@ class AWSTaskRunner {
}
cloud_runner_logger_1.default.log(`Streaming...`);
const { output, shouldCleanup } = yield this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
yield new Promise((resolve) => resolve(5000));
yield new Promise((resolve) => resolve(10000));
const taskData = yield AWSTaskRunner.describeTasks(cluster, taskArn);
const containerState = (_q = taskData.containers) === null || _q === void 0 ? void 0 : _q[0];
const exitCode = (containerState === null || containerState === void 0 ? void 0 : containerState.exitCode) || undefined;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -72,7 +72,7 @@ class AWSTaskRunner {
CloudRunnerLogger.log(`Streaming...`);
const { output, shouldCleanup } = await this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
await new Promise((resolve) => resolve(5000));
await new Promise((resolve) => resolve(10000));
const taskData = await AWSTaskRunner.describeTasks(cluster, taskArn);
const containerState = taskData.containers?.[0];
const exitCode = containerState?.exitCode || undefined;