locking test improvements
parent
33091c84ac
commit
d5ec49a174
|
@ -1744,7 +1744,7 @@ class AWSTaskRunner {
|
||||||
if (taskData.stoppedReason === 'Essential container in task exited' && exitCode === 1) {
|
if (taskData.stoppedReason === 'Essential container in task exited' && exitCode === 1) {
|
||||||
throw new Error('Container exited with code 1');
|
throw new Error('Container exited with code 1');
|
||||||
}
|
}
|
||||||
throw new Error(`K8s task failed`);
|
throw new Error(`Task failed`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
static waitUntilTaskRunning(taskArn, cluster) {
|
static waitUntilTaskRunning(taskArn, cluster) {
|
||||||
|
@ -3374,7 +3374,7 @@ class Kubernetes {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
cloud_runner_logger_1.default.log(`error running k8s workflow ${JSON.parse(error)}`);
|
cloud_runner_logger_1.default.log(`error running k8s workflow ${error}`);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -91,7 +91,7 @@ class AWSTaskRunner {
|
||||||
throw new Error('Container exited with code 1');
|
throw new Error('Container exited with code 1');
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new Error(`K8s task failed`);
|
throw new Error(`Task failed`);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async waitUntilTaskRunning(taskArn: string, cluster: string) {
|
private static async waitUntilTaskRunning(taskArn: string, cluster: string) {
|
||||||
|
|
|
@ -192,7 +192,7 @@ class Kubernetes implements ProviderInterface {
|
||||||
await new Promise((resolve) => resolve(5000));
|
await new Promise((resolve) => resolve(5000));
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
CloudRunnerLogger.log(`error running k8s workflow ${JSON.parse(error)}`);
|
CloudRunnerLogger.log(`error running k8s workflow ${error}`);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue