WARNING: This is the _old_ Lustre wiki, and it is in the process of being retired. The information found here is all likely to be out of date. Please search the new wiki for more up to date information.

Testing Lustre Code

From Obsolete Lustre Wiki
Revision as of 15:47, 29 August 2009 by Docadmin (talk | contribs)
Jump to navigationJump to search

We recommend a "test early, test often" approach to testing.

If you are developing a new feature for Lustre, designing tests to exercise the new feature early in the development process will allow you to test your code as you develop it.

If you are fixing a bug in Lustre, creating a regression test up front will ensure that you can reproduce the reported problem and then verify that it has been fixed. And it will save you the effort of testing the fix manually and then creating a separate regression test later to submit with your bug fix.

Note: You can use the OBD_FAIL_CHECK() or OBD_FAIL_TIMEOUT() hooks in Lustre to monitor failures.

Before you submit code, it must pass the Lustre acceptance test suite called "acceptance-small". You can run it directly on your system from the lustre/tests directory. We recommend you run it often so that you can find out as soon as possible if your code is adding a regression.

Note: Please set the "acc-sm passed" flag on the attachment for each individual branch that was tested in Bugzilla to indicate this. refer to submitting code topic


Acceptance_Small_(acc-sm)_Testing_on_Lustre

POSIX Testing