>>>>> On Tue, 29 Nov 2005 18:47:29 +0100, Thomas Anders <[EMAIL PROTECTED]> 
>>>>> said:

Thomas> Interesting idea. However, a significant contribution to the
Thomas> slowness of the test suite currently is (also) the fact that
Thomas> we've implemented each test as being self-contained, so it
Thomas> involves a complete startup and shutdown of the daemons.

That's actually somewhat by design.  Some things can be merged, but
the state that we didn't want to be in was having a previous test
break the next test...  Thus the reason for the complete restart.
(the current test suite was actually designed in the beginning by an
ex-co-worker of mine and has been heavily rewritten since then
actually.  He was an sh fanatic, can you tell?).

Thomas> So another obvious possibility to speed things up would be to
Thomas> have the test suite organized as a number of self-contained
Thomas> test *groups* each having a number of sub-tests. Each sub-test
Thomas> would operate against the same running daemon.

I started doing that a while ago, actually...  all the SNMPv1 tests
are currently done in a single file now instead of as originally
written, which was one test per file.

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to