Sunday, March 27, 2016

[389-commits] dirsrvtests/tests

dirsrvtests/tests/tickets/ticket47462_test.py | 9 +++++++++
1 file changed, 9 insertions(+)

New commits:
commit afb1e338abc29e84b94dbb15d472276ef0b72eaa
Author: Mark Reynolds <mreynolds@redhat.com>
Date: Sun Mar 27 18:16:51 2016 -0400

Ticket 47888 - Add CI test

Description: Add CI test for testing AES conversion with an empty backend

Reviewed by: mreynolds

diff --git a/dirsrvtests/tests/tickets/ticket47462_test.py b/dirsrvtests/tests/tickets/ticket47462_test.py
index c88cf43..f290647 100644
--- a/dirsrvtests/tests/tickets/ticket47462_test.py
+++ b/dirsrvtests/tests/tickets/ticket47462_test.py
@@ -240,6 +240,15 @@ def test_ticket47462(topology):
assert False

#
+ # Add a backend (that has no entries)
+ #
+ try:
+ topology.master1.backend.create("o=empty", {BACKEND_NAME: "empty"})
+ except ldap.LDAPError as e:
+ log.fatal('Failed to create extra/empty backend: ' + e.message['desc'])
+ assert False
+
+ #
# Run the upgrade...
#
topology.master1.upgrade('online')

--
389 commits mailing list
389-commits@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-commits@lists.fedoraproject.org

No comments:

Post a Comment