We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88f3ce9 commit 6c379f4Copy full SHA for 6c379f4
packages/daemon/test/test-endo.js
@@ -9,6 +9,7 @@ import '@endo/lockdown/commit-debug.js';
9
import test from 'ava';
10
import url from 'url';
11
import path from 'path';
12
+import os from 'os';
13
import { E } from '@endo/far';
14
import { makePromiseKit } from '@endo/promise-kit';
15
import {
@@ -29,8 +30,8 @@ const locator = {
29
30
cachePath: path.join(dirname, 'tmp/cache'),
31
sockPath:
32
process.platform === 'win32'
- ? raw`\\?\pipe\endo-test.sock`
33
- : path.join(dirname, 'tmp/endo.sock'),
+ ? raw`\\?\pipe\endo-test-${process.pid}.sock`
34
+ : path.join(os.tmpdir(), `endo-test-${process.pid}.sock`),
35
};
36
37
test.serial('lifecycle', async t => {
0 commit comments