Comments (6)
这个代码的单元测试比较难做,要测进程的启动、停止。求方法 @q3boy
from pm.
还好吧。
from pm.
你看我覆盖率很低的,求指点,但是不要暴露private变量
from pm.
没问题,搞掂@ 你
from pm.
什么东东?测进程启动停止的话..我原来nae里面弄过.感觉也不是太麻烦啊.
On Sat, Jun 30, 2012 at 9:26 PM, aleafs <
[email protected]
wrote:
这个代码的单元测试比较难做,要测进程的启动、停止。求方法 @q3boy
Reply to this email directly or view it on GitHub:
https://github.com/aleafs/node-cluster/issues/12#issuecomment-6685235
from pm.
@aleafs 不容易啊,lib/worker.js 覆盖到90%了。
from pm.
Related Issues (20)
- exception throw out for heartbeat when got sigterm
- need to fixed test case fails.
- worker is killed as soon as forked
- 能否支持worker在不同的机器上跑? HOT 6
- master crash with "uv__write: Assertion `fd_to_send >= 0' failed" HOT 4
- 执行Worker.reload()时,若某个worker进程还有没处理完的请求,能否等其处理完再退出? HOT 5
- work直接监听模式 HOT 3
- 请问这个跟Node官方的Cluster之间有什么区别? HOT 4
- pm 怎么搭配 express来使用 HOT 1
- 我在 worker.js 里 console.log('ooxx'),在浏览器刷新页面会出现2~5条的ooxx,什么情况? HOT 13
- Support Cluster.Worker API HOT 4
- aaa HOT 2
- 你好,请教你几个问题哈 HOT 2
- 关于集成pm与kraken HOT 4
- 当我control+c 终止master进程的时候,报错 HOT 1
- 怎样杀死所有子进程? HOT 1
- PM监听端口有没有个数限制? HOT 1
- 你好,请教关于监听地址的问题 HOT 1
- 0 down time 更新问题
- windows环境下tcp_wrap报错,Linux环境未测试
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm.