external-protocol-stress.test.mjs
11 lines 468 B
Raw
sha256:baa800aedf841dbf32081aa7b2befa288ac33dfc7175ac55014c55c4d8c742f9 docs: move durable-auth freeze/evidence to local developmen… Human 11 days ago
1 import { describe, it } from 'node:test';
2 import { expect } from 'chai';
3 import * as protocol from '../../lib/agent/external-agent-protocol.mjs';
4
5 describe('Stress: External Protocol', () => {
6 it('should handle many concurrent task claims without failing basic validation', async () => {
7 expect(protocol.handleClaimTask).to.be.a('function');
8 const tasks = Array.from({ length: 100 }, (_, i) => `task-${i}`);
9 expect(tasks.length).to.equal(100);
10 });
11 });
File History 1 commit
sha256:baa800aedf841dbf32081aa7b2befa288ac33dfc7175ac55014c55c4d8c742f9 docs: move durable-auth freeze/evidence to local developmen… Human 11 days ago