selftest: Do not run raw.notify, smb2.oplock and raw.oplock twice
authorAndrew Bartlett <abartlet@samba.org>
Wed, 21 Mar 2018 23:02:16 +0000 (12:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 27 Mar 2018 21:03:14 +0000 (23:03 +0200)
These are slower tests that do not need to be run against the ad_dc configuration
in particular.

This saves time in the ad_dc job which needs to stay under 50mins to
pass on travis-ci (and faster tests are better for everyone anyway).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/selftest/tests.py

index 00e04318c7cd470c6b7cc4b35b4b49da5cb13df1..a4ded32195b09d65fcd91552e764c707327c05b6 100755 (executable)
@@ -517,7 +517,8 @@ for t in tests:
             plansmbtorture4testsuite(t, env, '//$SERVER/tmp -U$USERNAME%$PASSWORD')
     elif t == "smb2.change_notify_disabled":
         plansmbtorture4testsuite(t, "simpleserver", '//$SERVER/tmp -U$USERNAME%$PASSWORD')
-    elif t == "smb2.notify":
+    elif t == "smb2.notify" or t == "raw.notify" or t == "smb2.oplock" or t == "raw.oplock":
+        # These tests are a little slower so don't duplicate them with ad_dc
         plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --signing=required')
     elif t == "smb2.dosmode":
         plansmbtorture4testsuite(t, "simpleserver", '//$SERVER/dosmode -U$USERNAME%$PASSWORD')