test timeout 1_000_000_000_000
parent
879b54e39e
commit
8276c762d3
|
|
@ -3077,10 +3077,11 @@ class Kubernetes {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
for (let index = 0; index < 3; index++) {
|
||||
try {
|
||||
cloud_runner_logger_1.default.log(`Job spec creating`);
|
||||
yield new Promise((promise) => setTimeout(promise, 5000));
|
||||
const jobSpec = kubernetes_job_spec_factory_1.default.getJobSpec(commands, image, mountdir, workingdir, environment, secrets, this.buildGuid, this.buildParameters, this.secretName, this.pvcName, this.jobName, k8s);
|
||||
cloud_runner_logger_1.default.log(`Job spec created`);
|
||||
yield new Promise((promise) => setTimeout(promise, 5000));
|
||||
yield new Promise((promise) => setTimeout(promise, 15000));
|
||||
yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
||||
cloud_runner_logger_1.default.log(`Build job created`);
|
||||
yield new Promise((promise) => setTimeout(promise, 5000));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -167,6 +167,7 @@ class Kubernetes implements ProviderInterface {
|
|||
) {
|
||||
for (let index = 0; index < 3; index++) {
|
||||
try {
|
||||
CloudRunnerLogger.log(`Job spec creating`);
|
||||
await new Promise((promise) => setTimeout(promise, 5000));
|
||||
const jobSpec = KubernetesJobSpecFactory.getJobSpec(
|
||||
commands,
|
||||
|
|
@ -183,7 +184,7 @@ class Kubernetes implements ProviderInterface {
|
|||
k8s,
|
||||
);
|
||||
CloudRunnerLogger.log(`Job spec created`);
|
||||
await new Promise((promise) => setTimeout(promise, 5000));
|
||||
await new Promise((promise) => setTimeout(promise, 15000));
|
||||
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
||||
CloudRunnerLogger.log(`Build job created`);
|
||||
await new Promise((promise) => setTimeout(promise, 5000));
|
||||
|
|
|
|||
Loading…
Reference in New Issue