mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 09:07:46 +02:00
test(recovery): use snapshot resource defaults in provider probe
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
66990f4208
commit
804dfe24ef
1 file changed
+2
-2
@@ -116,8 +116,8 @@ it.skipIf(!live || Boolean(worker))("preserves provider files across an interrup
|
||||
expect(snapshot.id).toBe(snapshotId);
|
||||
expect(snapshot.state).toBe("active");
|
||||
}
|
||||
sandbox = await daytona.create({ ...(snapshotId ? { snapshot: snapshotId } : { image }), autoStopInterval: 10, autoArchiveInterval: 60,
|
||||
resources: { cpu: 2, memory: 4, disk: 10 }, labels: { purpose: "paperclip-recovery-qualification" } }, { timeout: 300 });
|
||||
sandbox = await daytona.create({ ...(snapshotId ? { snapshot: snapshotId } : { image, resources: { cpu: 2, memory: 4, disk: 10 } }),
|
||||
autoStopInterval: 10, autoArchiveInterval: 60, labels: { purpose: "paperclip-recovery-qualification" } }, { timeout: 300 });
|
||||
const remoteCwd = "/tmp/paperclip-recovery-fixture";
|
||||
await sandbox.process.executeCommand(`mkdir -p ${remoteCwd}`, undefined, undefined, 30);
|
||||
await sandbox.process.createSession("old-agent");
|
||||
|
||||
Reference in new issue
Block a user