Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite committed Feb 6, 2024
1 parent 5c618dc commit cb0def7
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Cli } from '../../cli/cli';
import CloudRunnerOptions from '../options/cloud-runner-options';
import setups from './cloud-runner-suite.test';
import { OptionValues } from 'commander';
import GitHub from '../../github';
import CloudRunnerLogger from '../services/core/cloud-runner-logger';

async function CreateParameters(overrides: OptionValues | undefined) {
if (overrides) Cli.options = overrides;
Expand All @@ -31,14 +29,9 @@ describe('Cloud Runner Async Workflows', () => {

// Run the job
await CloudRunner.run(buildParameter, baseImage.toString());
const result = await GitHub.getCheckStatus();
expect(result.status.toString()[0]).toEqual('2');

// wait for 15 seconds
await new Promise((resolve) => setTimeout(resolve, 15_000));

// log data
CloudRunnerLogger.log(JSON.stringify(result.data, undefined, 4));
await new Promise((resolve) => setTimeout(resolve, 85_000));
}, 1_000_000_000);
}
});

0 comments on commit cb0def7

Please sign in to comment.