From: Ken <ken...@gm...> - 2011-12-08 04:35:49
|
Hello, Thanks for the great work, I really love it. After some time of reading the source code, I noticed there is none unittest published. IMOH unittest to some independent module like: filesystem.c, chunks.c... will bring great stability in fast changing. Without doubt Moosefs is stable enough. But it is huge difficult to other users. My question are: Is there ever any in-depth unittest code published? Is there any script or anything else perform procedure input/output test for mfsrestore or others? Maybe adding unittest is hard dirty work. Normally coupled code is difficault to unittest. In filesystem.c fs_info call to matocsserv_getspace of matocuserv.c, Is possible or value enough to decouple them? Please don't hesitate to criticize me. Thanks. -Ken |