Re: Translator test harness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Jeff Darcy" <jdarcy@xxxxxxxxxx>
> To: "gluster-dev >> Gluster Devel" <gluster-devel@xxxxxxxxxx>
> Sent: Monday, November 18, 2013 8:04:27 PM
> Subject: Translator test harness
> 
> Last week, Luis and I had a discussion about unit testing translator
> code.  Unfortunately, the structure of a translator - a plugin with many
> entry points which interact in complex and instance-specific ways - is
> one that is notoriously challenging.  Really, the only way to do it is
> to have some sort of a task-specific harness, with at least the
> following parts:
> 
> * Code above to inject requests.
> 
> * Code below to provide mocked replies to the translator's own requests.
> 
> * Code "on the side" to track things like resources or locks acquired
> and released.
> 

Interesting. KP (Krishnan P) and myself were discussing about an fault injection translator, (beyond error injection (which exists in the code base)), and were trying to narrow down some faults that we could inject to check and see if it makes sense to add such a translator.

> This would be an ambitious undertaking, but not so ambitious that it's
> beyond reason.  The benefits should be obvious.  At this point, what I'm
> most interested in is volunteers to help define the requirements and
> scope so that we can propose this as a feature or task for some future
> GlusterFS release.  Who's up for it?
> 

I would be interested in pitching in on this, and also hearing about extending this effort to cover fault injections if it makes sense.

Shyam



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux