gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] Translator test harness


From: Jeff Darcy
Subject: [Gluster-devel] Translator test harness
Date: Mon, 18 Nov 2013 09:34:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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.

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]