[SAMBA4] we should create just one test environment
jelmer at samba.org
Mon Apr 30 07:03:35 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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.
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
Perhaps you would simply like to make sure that all test environments
are set up in 'make testenv' ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical