MCPcopy Create free account
hub / github.com/catboost/catboost / runE2EContainerTest

Function runE2EContainerTest

catboost/node-package/build_scripts/docker.ts:9–15  ·  view source on GitHub ↗
(imageName: string)

Source from the content-addressed store, hash-verified

7}
8
9async function runE2EContainerTest(imageName: string) {
10 return await execProcess(`docker run ${imageName}:latest`).then(result => {
11 if (result.code !== 0) {
12 throw new Error('E2E test have failed! Check logs for execution details.');
13 }
14 });
15}
16
17export async function E2EDeploymentTest(dockerfile: string) {
18 const imageName = 'node-catboost-e2e-deploy-test';

Callers 1

E2EDeploymentTestFunction · 0.85

Calls 1

execProcessFunction · 0.90

Tested by

no test coverage detected