fix
parent
66947bd933
commit
c262c929e4
|
@ -4877,7 +4877,7 @@ class CloudRunnerSystem {
|
|||
}
|
||||
return await new Promise((promise, throwError) => {
|
||||
let output = '';
|
||||
const child = (0, child_process_1.exec)(command, (error, stdout, stderr) => {
|
||||
const child = (0, child_process_1.exec)(command, { maxBuffer: 1024 * 500 }, (error, stdout, stderr) => {
|
||||
if (!suppressError && error) {
|
||||
remote_client_logger_1.RemoteClientLogger.log(error.toString());
|
||||
throwError(error);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -31,7 +31,7 @@ export class CloudRunnerSystem {
|
|||
|
||||
return await new Promise<string>((promise, throwError) => {
|
||||
let output = '';
|
||||
const child = exec(command, (error, stdout, stderr) => {
|
||||
const child = exec(command, { maxBuffer: 1024 * 500 }, (error, stdout, stderr) => {
|
||||
if (!suppressError && error) {
|
||||
RemoteClientLogger.log(error.toString());
|
||||
throwError(error);
|
||||
|
|
|
@ -69,7 +69,7 @@ describe('Cloud Runner Caching', () => {
|
|||
|
||||
const build2ContainsCacheKey = results2.includes(buildParameter.cacheKey);
|
||||
const build2ContainsBuildSucceeded = results2.includes(buildSucceededString);
|
||||
const build2NotContainsNoLibraryMessage = !results2.includes(libraryString);
|
||||
const build2NotContainsNoLibraryMessage = !results2.split('Activation successful')[1].includes(libraryString);
|
||||
const build2NotContainsZeroLibraryCacheFilesMessage = !results2.includes(
|
||||
'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 build2ContainsWorkspaceExistsAlreadyPhrase = results2.includes(`Retained Workspace Already Exists!`);
|
||||
const build2ContainsBuildSucceeded = results2.includes(buildSucceededString);
|
||||
const build2NotContainsNoLibraryMessage = !results2.includes(libraryString);
|
||||
const build2NotContainsNoLibraryMessage = !results2.split('Activation successful')[1].includes(libraryString);
|
||||
const build2NotContainsZeroLibraryCacheFilesMessage = !results2.includes(
|
||||
'There is 0 files/dir in the cache pulled contents for Library',
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue