1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Chore: Trying to fix random ipc test error on CI

This commit is contained in:
Laurent Cozic
2025-06-11 19:07:51 +01:00
parent 7389712093
commit ca46df5627

View File

@@ -7,8 +7,8 @@ describe('ipc', () => {
it('should send and receive messages', async () => {
const tempDir = await createTempDir();
const secretFilePath = `${tempDir}/secret.txt`;
const serverPort1 = 41168;
const serverPort2 = 41169;
const serverPort1 = 41110;
const serverPort2 = 41115;
const server1 = await startServer(serverPort1, secretFilePath, async (request) => {
if (request.action === 'testing') {
@@ -87,7 +87,7 @@ describe('ipc', () => {
it('should not process message if secret is invalid', async () => {
const tempDir = await createTempDir();
const secretFilePath = `${tempDir}/secret.txt`;
const serverPort = 41170;
const serverPort = 41120;
const server = await startServer(serverPort, secretFilePath, async (request) => {
if (request.action === 'testing') {