test timeout 1_000_000_000_000

pull/437/head
Frostebite 2022-10-22 20:38:50 +01:00
parent 40eca8c2e0
commit eecce6bf20
4 changed files with 8 additions and 2 deletions

View File

@ -89,6 +89,7 @@ jobs:
retention-days: 14
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
if: github.ref != 'refs/heads/cloud-runner-develop' && github.ref != 'refs/heads/cloud-runner-preview'
timeout-minutes: 90
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
PROJECT_PATH: ${{ matrix.projectPath }}
@ -157,7 +158,7 @@ jobs:
- run: yarn run cli --help
- uses: ./
id: unity-build
timeout-minutes: 25
timeout-minutes: 90
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
@ -183,6 +184,7 @@ jobs:
retention-days: 14
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
if: ${{ matrix.targetPlatform == 'StandaloneWindows64' }}
timeout-minutes: 90
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
PROJECT_PATH: ${{ matrix.projectPath }}

2
dist/index.js vendored
View File

@ -3076,7 +3076,9 @@ class Kubernetes {
return __awaiter(this, void 0, void 0, function* () {
for (let index = 0; index < 3; index++) {
try {
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 this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
cloud_runner_logger_1.default.log(`Build job created`);
yield new Promise((promise) => setTimeout(promise, 5000));

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -166,6 +166,7 @@ class Kubernetes implements ProviderInterface {
) {
for (let index = 0; index < 3; index++) {
try {
await new Promise((promise) => setTimeout(promise, 5000));
const jobSpec = KubernetesJobSpecFactory.getJobSpec(
commands,
image,
@ -180,6 +181,7 @@ class Kubernetes implements ProviderInterface {
this.jobName,
k8s,
);
CloudRunnerLogger.log(`Job spec created`);
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
CloudRunnerLogger.log(`Build job created`);
await new Promise((promise) => setTimeout(promise, 5000));