diff options
author | Aaron Haslett <aaronhaslett@catalyst.net.nz> | 2019-04-02 10:45:36 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-04-11 04:17:11 +0000 |
commit | 59ee3c864ca360d49196ae4064fe19db01fe6396 (patch) | |
tree | d2328bf828f3e592efc97ddba03abca10d4d872e /script/autobuild.py | |
parent | 5d8895f347ca0005240ec166fec4eb875f9cd356 (diff) | |
download | samba-59ee3c864ca360d49196ae4064fe19db01fe6396.tar.gz |
selftest: split schemaupgrade testenv out
Schemaupgrade tests are particularly resource intensive and are causing
runners to hit their memory and CPU limits, so we need to split them
out.
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'script/autobuild.py')
-rwxr-xr-x | script/autobuild.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index 0f95cc50bc8..13ea568237e 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -56,6 +56,7 @@ builddirs = { "samba-systemkrb5": ".", "samba-nopython": ".", "samba-nopython-py2": ".", + "samba-schemaupgrade": ".", "ldb": "lib/ldb", "tdb": "lib/tdb", "talloc": "lib/talloc", @@ -131,6 +132,8 @@ tasks = { "--exclude-env=rodc " "--exclude-env=ad_dc_default " "--exclude-env=ad_dc_slowtests " + "--exclude-env=schemaupgrade_pair_dc " + "--exclude-env=schemaupgrade_dc " "'", "text/plain"), ("install", "make install", "text/plain"), @@ -236,6 +239,17 @@ tasks = { "'", "text/plain"), ("check-clean-tree", "script/clean-source-tree.sh", "text/plain")], + + "samba-schemaupgrade": [("random-sleep", "script/random-sleep.sh 1 1", "text/plain"), + ("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"), + ("make", "make -j", "text/plain"), + ("test", "make test FAIL_IMMEDIATELY=1 " + "TESTS='" + "--include-env=schemaupgrade_dc " + "--include-env=schemaupgrade_pair_dc " + "'", "text/plain"), + ("check-clean-tree", "script/clean-source-tree.sh", "text/plain")], + # We split out the ad_dc_ntvfs tests (which are long) so other test do not wait # This is currently the longest task, so we don't randomly delay it. "samba-ad-dc-ntvfs": [ |