mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
flapping: temporarily add samba_dnsupdate test
This should be removed when we can run nsupdate on sn-devel Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Thu Jun 16 08:37:56 CEST 2016 on sn-devel-144
This commit is contained in:
parent
b4d2e1016d
commit
e2743b110f
@ -41,9 +41,18 @@ class SambaDnsUpdateTests(samba.tests.BlackboxTestCase):
|
||||
self.assertTrue(" DNS deletes needed" in out)
|
||||
except samba.tests.BlackboxProcessError:
|
||||
pass
|
||||
out = self.check_output("samba_dnsupdate --verbose --use-nsupdate --current-ip=10.0.0.1")
|
||||
|
||||
try:
|
||||
out = self.check_output("samba_dnsupdate --verbose --use-nsupdate --current-ip=10.0.0.1")
|
||||
except samba.tests.BlackboxProcessError:
|
||||
self.fail("Error calling samba_dnsupdate")
|
||||
|
||||
self.assertTrue("No DNS updates needed" in out)
|
||||
out = self.check_output("samba_dnsupdate --verbose --use-samba-tool --rpc-server-ip=%s" % self.server_ip)
|
||||
try:
|
||||
out = self.check_output("samba_dnsupdate --verbose --use-samba-tool --rpc-server-ip=%s" % self.server_ip)
|
||||
except samba.tests.BlackboxProcessError:
|
||||
self.fail("Error calling samba_dnsupdate")
|
||||
|
||||
self.assertTrue(" DNS updates and" in out)
|
||||
self.assertTrue(" DNS deletes needed" in out)
|
||||
out = self.check_output("samba_dnsupdate --verbose")
|
||||
|
@ -31,3 +31,4 @@
|
||||
# This test just is not reliable in finding the max search limit
|
||||
#
|
||||
^samba4.ldap.notification.python\(.*\).__main__.LDAPNotificationTest.test_max_search
|
||||
^samba.tests.blackbox.samba_dnsupdate.* # missing nsupdate on sn-devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user