[SAMBA4] we should create just one test environment
Jelmer Vernooij
jelmer at samba.org
Mon Apr 30 07:03:35 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Bartlett wrote:
> Of late, we gained the ability to run multiple test environments, in
> Samba4. For many purposes (such as Windows testing), it perhaps makes
> sense to say 'this is entirely distinct from the rest', but otherwise, I
> wonder if we should instead just create a single, fuller test
> environment.
>
> This way, if we want to reproduce any test, we just start 'make
> testevn', and don't have to figure out which testevn we want.
> Similarly, we always have a DC or two, and a member server running, and
> you just target the tests at the appropriate hosts.
- -1
Nothing prevents test environments for guaranteeing both a dc and two
members will be up, for example.
If we have just one test network (with lots of hosts), then for example
"make test TESTS=TALLOC" will be very slow, whereas it is very fast at
the moment (doesn't need to do any provisioning). Same goes for tests
that only require a dc.
Also, the current code makes it very easy to add support for other
targets (Samba3, for example) that don't support all test environments
(yet).
Perhaps you would simply like to make sure that all test environments
are set up in 'make testenv' ?
Cheers,
Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRjWUwwy0JeEGD2blAQItcgQAlfTybfTBfQeZ4cdmnUYHsN5UXyHyk6at
eNfqSIjqwbyJuMapaquZ2Eb+SZI95ACztHE5YnujZY7CbNefr3TwMMrT9gJhPzCl
nFUyOqdehTlE8Es+AMmkZWvDtJxXFwY07qejR4VAvKHkzKc+LyAuClCdWWuUYP8r
5vu3OYypfR4=
=mUbm
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list