@dxos/phoenix 0.8.4-main.a4bbb77 → 0.8.4-main.ae835ea

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/phoenix",
3
- "version": "0.8.4-main.a4bbb77",
3
+ "version": "0.8.4-main.ae835ea",
4
4
  "description": "Basic node daemon.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -26,10 +26,10 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "pkg-up": "^3.1.0",
29
- "@dxos/async": "0.8.4-main.a4bbb77",
30
- "@dxos/invariant": "0.8.4-main.a4bbb77",
31
- "@dxos/log": "0.8.4-main.a4bbb77",
32
- "@dxos/node-std": "0.8.4-main.a4bbb77"
29
+ "@dxos/async": "0.8.4-main.ae835ea",
30
+ "@dxos/invariant": "0.8.4-main.ae835ea",
31
+ "@dxos/log": "0.8.4-main.ae835ea",
32
+ "@dxos/node-std": "0.8.4-main.ae835ea"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
@@ -13,7 +13,7 @@ import { Trigger } from '@dxos/async';
13
13
  import { Phoenix } from './phoenix';
14
14
  import { TEST_DIR, clearFiles, neverEndingProcess } from './testing-utils';
15
15
 
16
- describe('DaemonManager', () => {
16
+ describe.skipIf(process.env.CI)('DaemonManager', () => {
17
17
  test('kill process by pid', async () => {
18
18
  const child = spawn('node', ['-e', `(${neverEndingProcess.toString()})()`]);
19
19
  const trigger = new Trigger();
@@ -22,7 +22,6 @@ describe('DaemonManager', () => {
22
22
  });
23
23
 
24
24
  process.kill(child.pid!, 'SIGKILL');
25
-
26
25
  await trigger.wait({ timeout: 1_000 });
27
26
  });
28
27
 
@@ -57,7 +56,6 @@ describe('DaemonManager', () => {
57
56
  expect(info.profile).to.equal(runId);
58
57
 
59
58
  await Phoenix.stop(pidFile);
60
-
61
59
  await expect.poll(() => readFileSync(logFile, { encoding: 'utf-8' })).toContain('Stopped with exit code');
62
60
  }
63
61
  });
@@ -10,7 +10,7 @@ import { describe, expect, onTestFinished, test } from 'vitest';
10
10
  import { TEST_DIR, clearFiles, neverEndingProcess } from './testing-utils';
11
11
  import { WatchDog } from './watchdog';
12
12
 
13
- describe('WatchDog', () => {
13
+ describe.skipIf(process.env.CI)('WatchDog', () => {
14
14
  test('Start/stop process', async () => {
15
15
  const runId = Math.random();
16
16
  const pidFile = join(TEST_DIR, `pid-${runId}.pid`);
@@ -27,8 +27,8 @@ describe('WatchDog', () => {
27
27
  });
28
28
 
29
29
  expect(existsSync(pidFile)).to.be.false;
30
- await watchDog.start();
31
30
 
31
+ await watchDog.start();
32
32
  expect(existsSync(pidFile)).to.be.true;
33
33
 
34
34
  await watchDog.kill();