Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

rm logs test for now, can be slow to query (#1153)

Matt Brockmandc777426530a
diff --git a/packages/cli/tests/commands/sandbox/backend_integration.test.ts b/packages/cli/tests/commands/sandbox/backend_integration.test.ts
index 32d2b3390..49642598a 100644
--- a/packages/cli/tests/commands/sandbox/backend_integration.test.ts
+++ b/packages/cli/tests/commands/sandbox/backend_integration.test.ts
@@ -97,20 +97,21 @@ describe('sandbox cli backend integration', () => {
}
)
- testIf(
- 'logs returns successfully',
- { timeout: perTestTimeoutMs },
- async () => {
- const logsResult = runCli([
- 'sandbox',
- 'logs',
- sandbox.sandboxId,
- '--format',
- 'json',
- ])
- expect(logsResult.status).toBe(0)
- }
- )
+ /** Note: removing this test for now because it can be slow to get the logs causing tests to time out */
+ // testIf(
+ // 'logs returns successfully',
+ // { timeout: perTestTimeoutMs },
+ // async () => {
+ // const logsResult = runCli([
+ // 'sandbox',
+ // 'logs',
+ // sandbox.sandboxId,
+ // '--format',
+ // 'json',
+ // ])
+ // expect(logsResult.status).toBe(0)
+ // }
+ // )
testIf(
'metrics returns successfully',
@@ -201,8 +202,8 @@ function runCliWithPipedStdin(
clearTimeout(timer)
const timeoutError = timedOut
? Object.assign(new Error('CLI command timed out'), {
- code: 'ETIMEDOUT',
- } as NodeJS.ErrnoException)
+ code: 'ETIMEDOUT',
+ } as NodeJS.ErrnoException)
: undefined
resolve({
status: code,