Skip to content

Commit

Permalink
test(daemon): launch tcp on a system specified port
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavis committed Mar 7, 2024
1 parent 3173724 commit f7e7f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/daemon/test/test-endo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ test('read remote location', async t => {
const iteratorRef = E(hostA).followMessages();
const { value: message } = await E(iteratorRef).next();
const { number } = E.get(message);
await E(hostA).evaluate('MAIN', '`127.0.0.1:8920`', [], [], 'netport');
await E(hostA).evaluate('MAIN', '`127.0.0.1:0`', [], [], 'netport');
await E(hostA).resolve(await number, 'netport');
// move test network to network dir
await networkA;
Expand Down Expand Up @@ -1328,7 +1328,7 @@ test('read remote location', async t => {
const iteratorRef = E(hostB).followMessages();
const { value: message } = await E(iteratorRef).next();
const { number } = E.get(message);
await E(hostB).evaluate('MAIN', '`127.0.0.1:8921`', [], [], 'netport');
await E(hostB).evaluate('MAIN', '`127.0.0.1:0`', [], [], 'netport');
await E(hostB).resolve(await number, 'netport');
// move test network to network dir
await networkB;
Expand Down

0 comments on commit f7e7f21

Please sign in to comment.