From eaefbab790c7694419625c1bb91f90dd6044f131 Mon Sep 17 00:00:00 2001 From: Peter Somogyvari Date: Fri, 2 Apr 2021 16:01:43 -0700 Subject: [PATCH] test(connector-besu): fix hardcoded test port #767 Fixes #767 Signed-off-by: Peter Somogyvari --- .../deploy-contract/deploy-contract-from-json.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts b/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts index 445bdc1621..3277afb6bb 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/deploy-contract-from-json.test.ts @@ -90,7 +90,7 @@ test(testCase, async (t: Test) => { const server = http.createServer(expressApp); const listenOptions: IListenOptions = { hostname: "0.0.0.0", - port: 32845, + port: 0, server, }; const addressInfo = (await Servers.listen(listenOptions)) as AddressInfo;