fix selects arbitrators test by reverting to localhost (#362)

This commit is contained in:
woodser 2025-03-09 16:52:18 -04:00 committed by GitHub
parent 13a675e0fa
commit 24050df072
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2257,8 +2257,8 @@ test("Selects arbitrators which are online, registered, and least used (Test)",
await wait(TestConfig.trade.walletSyncPeriodMs * 2);
// get internal api addresses
const arbitrator1ApiUrl = "127.0.0.1:" + TestConfig.ports.get(getPort(arbitrator.getUrl()))![1]; // TODO: havenod.getApiUrl()?
const arbitrator2ApiUrl = "127.0.0.1:" + TestConfig.ports.get(getPort(arbitrator2.getUrl()))![1];
const arbitrator1ApiUrl = "localhost:" + TestConfig.ports.get(getPort(arbitrator.getUrl()))![1]; // TODO: havenod.getApiUrl()?
const arbitrator2ApiUrl = "localhost:" + TestConfig.ports.get(getPort(arbitrator2.getUrl()))![1];
let err = undefined;
try {