perftest:ndr_pack: rename SD tests with object ACEs
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 2 Jan 2024 20:26:51 +0000 (09:26 +1300)
committerJule Anger <janger@samba.org>
Mon, 12 Feb 2024 10:53:13 +0000 (10:53 +0000)
We are looking at an optimisation for non-object ACEs, which
are more common, but these tests are overwhelmed by object
(OA) ACEs.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15574
(cherry picked from commit d5371f6bcd2fe991d08fcf2006ce62e6a7449ae9)

source4/dsdb/tests/python/ndr_pack_performance.py

index 5defacf19ec94290079086366d9c3b10edb831af..e7586028e90a21f7e69ff42ee7340fde7e8d06f9 100644 (file)
@@ -171,27 +171,27 @@ class UserTests(samba.tests.TestCase):
 
         self.assertEqual(blob, blob2)
 
-    def test_pack_big_sd(self):
+    def test_pack_big_sd_with_object_aces(self):
         unpacked = self.get_desc(BIG_SD_SDDL)
         self._test_pack(unpacked)
 
-    def test_unpack_big_sd(self):
+    def test_unpack_big_sd_with_object_aces(self):
         blob = self.get_blob(BIG_SD_SDDL)
         self._test_unpack(blob)
 
-    def test_pack_unpack_big_sd(self):
+    def test_pack_unpack_big_sd_with_object_aces(self):
         unpacked = self.get_desc(BIG_SD_SDDL)
         self._test_pack_unpack(unpacked)
 
-    def test_pack_little_sd(self):
+    def test_pack_little_sd_with_object_aces(self):
         unpacked = self.get_desc(LITTLE_SD_SDDL)
         self._test_pack(unpacked)
 
-    def test_unpack_little_sd(self):
+    def test_unpack_little_sd_with_object_aces(self):
         blob = self.get_blob(LITTLE_SD_SDDL)
         self._test_unpack(blob)
 
-    def test_pack_unpack_little_sd(self):
+    def test_pack_unpack_little_sd_with_object_aces(self):
         unpacked = self.get_desc(LITTLE_SD_SDDL)
         self._test_pack_unpack(unpacked)