mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
fix
This commit is contained in:
parent
66947bd933
commit
c262c929e4
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -31,7 +31,7 @@ export class CloudRunnerSystem {
|
|||||||
|
|
||||||
return await new Promise<string>((promise, throwError) => {
|
return await new Promise<string>((promise, throwError) => {
|
||||||
let output = '';
|
let output = '';
|
||||||
const child = exec(command, (error, stdout, stderr) => {
|
const child = exec(command, { maxBuffer: 1024 * 500 }, (error, stdout, stderr) => {
|
||||||
if (!suppressError && error) {
|
if (!suppressError && error) {
|
||||||
RemoteClientLogger.log(error.toString());
|
RemoteClientLogger.log(error.toString());
|
||||||
throwError(error);
|
throwError(error);
|
||||||
|
@ -69,7 +69,7 @@ describe('Cloud Runner Caching', () => {
|
|||||||
|
|
||||||
const build2ContainsCacheKey = results2.includes(buildParameter.cacheKey);
|
const build2ContainsCacheKey = results2.includes(buildParameter.cacheKey);
|
||||||
const build2ContainsBuildSucceeded = results2.includes(buildSucceededString);
|
const build2ContainsBuildSucceeded = results2.includes(buildSucceededString);
|
||||||
const build2NotContainsNoLibraryMessage = !results2.includes(libraryString);
|
const build2NotContainsNoLibraryMessage = !results2.split('Activation successful')[1].includes(libraryString);
|
||||||
const build2NotContainsZeroLibraryCacheFilesMessage = !results2.includes(
|
const build2NotContainsZeroLibraryCacheFilesMessage = !results2.includes(
|
||||||
'There is 0 files/dir in the cache pulled contents for Library',
|
'There is 0 files/dir in the cache pulled contents for Library',
|
||||||
);
|
);
|
||||||
|
@ -59,7 +59,7 @@ describe('Cloud Runner Retain Workspace', () => {
|
|||||||
const build2ContainsRetainedWorkspacePhrase = results2.includes(`Retained Workspace:`);
|
const build2ContainsRetainedWorkspacePhrase = results2.includes(`Retained Workspace:`);
|
||||||
const build2ContainsWorkspaceExistsAlreadyPhrase = results2.includes(`Retained Workspace Already Exists!`);
|
const build2ContainsWorkspaceExistsAlreadyPhrase = results2.includes(`Retained Workspace Already Exists!`);
|
||||||
const build2ContainsBuildSucceeded = results2.includes(buildSucceededString);
|
const build2ContainsBuildSucceeded = results2.includes(buildSucceededString);
|
||||||
const build2NotContainsNoLibraryMessage = !results2.includes(libraryString);
|
const build2NotContainsNoLibraryMessage = !results2.split('Activation successful')[1].includes(libraryString);
|
||||||
const build2NotContainsZeroLibraryCacheFilesMessage = !results2.includes(
|
const build2NotContainsZeroLibraryCacheFilesMessage = !results2.includes(
|
||||||
'There is 0 files/dir in the cache pulled contents for Library',
|
'There is 0 files/dir in the cache pulled contents for Library',
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user