[PATCH] Create a custom testenv from backup-file for manual testing
asn at samba.org
Fri Nov 2 07:09:03 UTC 2018
On Tuesday, 30 October 2018 21:52:19 CET Tim Beale via samba-technical wrote:
> The attached patch allows you to easily spin up any custom testenv that
> you want, for manual testing. All you need is a backup-file that the
> testenv DC will be based off.
> The main use-case is any testing that involves a large database.
> Creating user accounts is slow. Even with the improvements to the
> traffic_replay user generation, creating 5,000 users still takes close
> to 10 minutes. Instead of creating a blank testenv and slowly populating
> it with users, you can do this step once, take a backup, and then spin
> up the backup database multiple times as a new testenv.
> This testenv might be useful in other situations too. E.g. testing
> migrating databases across samba versions, you spot a DB corruption and
> want to try diagnosing/fixing it without completely losing the original
> problem state, you want to create a labdc-replica testenv of a real
> network, etc.
> Also fixed a couple of minor dnsupdate problems that were making
> debugging testenv bootstrapping issues difficult.
could you please document how to use this stuff on
Andreas Schneider asn at samba.org
Samba Team www.samba.org
More information about the samba-technical