mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Port allocation fix in TestServer
Summary: - Fixing port allocation in TestServer - Extending logging in the Billing test - Fixing negative rowIds support for add/remove actions - Making FormulaEditor and CardView tests less flacky Test Plan: Existing Reviewers: paulfitz Reviewed By: paulfitz Subscribers: paulfitz, dsagal Differential Revision: https://phab.getgrist.com/D4280
This commit is contained in:
@@ -79,7 +79,7 @@ export class TestServer {
|
||||
throw new Error(`Path of testingSocket too long: ${this.testingSocket.length} (${this.testingSocket})`);
|
||||
}
|
||||
|
||||
const port = await getAvailablePort();
|
||||
const port = await getAvailablePort(Number(process.env.GET_AVAILABLE_PORT_START || '8000'));
|
||||
this._serverUrl = `http://localhost:${port}`;
|
||||
const homeUrl = _homeUrl ?? (this._serverTypes.includes('home') ? this._serverUrl : undefined);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user