This is an automated email from the ASF dual-hosted git repository.

hufeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git


The following commit(s) were added to refs/heads/master by this push:
     new 06215f1  fxied: port-test
06215f1 is described below

commit 06215f1193bf74143dc61d98c1cf851ceab1c7b0
Author: hufeng <[email protected]>
AuthorDate: Mon Aug 9 17:33:03 2021 +0800

    fxied: port-test
---
 packages/dubbo-service/src/__tests__/port-test.ts | 1 +
 packages/dubbo-service/src/port.ts                | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/dubbo-service/src/__tests__/port-test.ts 
b/packages/dubbo-service/src/__tests__/port-test.ts
index ada474b..09f6a12 100644
--- a/packages/dubbo-service/src/__tests__/port-test.ts
+++ b/packages/dubbo-service/src/__tests__/port-test.ts
@@ -28,6 +28,7 @@ describe('port test suite', () => {
     expect(
       fs.existsSync(path.join(process.cwd(), '.dubbojs/dubbo'))
     ).toBeTruthy()
+    fs.rmSync(path.join(process.cwd(), '.dubbojs', `${port}`))
   })
 
   it('test cluster mode', async () => {})
diff --git a/packages/dubbo-service/src/port.ts 
b/packages/dubbo-service/src/port.ts
index a8dcccb..b7fe8ce 100644
--- a/packages/dubbo-service/src/port.ts
+++ b/packages/dubbo-service/src/port.ts
@@ -100,7 +100,6 @@ export class PortManager {
       'SIGINT',
       'SIGUSR2',
       'SIGUSR1',
-      'SIGKILL',
       'SIGTERM',
       'uncaughtException'
     ].forEach((event) => {

Reply via email to