Skip to content

Commit

Permalink
Shorten timeouts used when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswest committed Jan 16, 2025
1 parent cbf8ab1 commit bdef136
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ Given('A Desktop Agent in {string}', async function (this: CustomWorld, field: s
this.messaging = new TestMessaging(this.props[CHANNEL_STATE]);
}

const cs = new DefaultChannelSupport(this.messaging, new SimpleChannelSelector(this), 10000);
//n.b. using short timeouts to avoid extending tests unnecessarily
const cs = new DefaultChannelSupport(this.messaging, new SimpleChannelSelector(this), 1500);
const hs = new DefaultHeartbeatSupport(this.messaging);
const is = new DefaultIntentSupport(this.messaging, new SimpleIntentResolver(this), 10000, 100000);
const as = new DefaultAppSupport(this.messaging, 10000, 100000);
const is = new DefaultIntentSupport(this.messaging, new SimpleIntentResolver(this), 1500, 3000);
const as = new DefaultAppSupport(this.messaging, 1500, 3000);

const da = new DesktopAgentProxy(hs, cs, is, as, [hs]);
await da.connect();
Expand Down

0 comments on commit bdef136

Please sign in to comment.