tests/gkdi: Remove implicit clock skew offset
authorJo Sutton <josutton@catalyst.net.nz>
Mon, 1 Apr 2024 22:13:37 +0000 (11:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 Apr 2024 03:55:47 +0000 (15:55 +1200)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/gkdi.py

index d16ae9a1066cf9651dd15574a2aa6a853da05069..f1653d122ce54bcea2426f977d41b5935a2f0df3 100644 (file)
@@ -120,10 +120,6 @@ class GkdiBaseTest(TestCase):
     def current_gkid(
         self, samdb: SamDB, *, offset: Optional[datetime.timedelta] = None
     ) -> Gkid:
-        if offset is None:
-            # Allow for clock skew.
-            offset = timedelta_from_nt_time_delta(MAX_CLOCK_SKEW)
-
         return Gkid.from_nt_time(self.current_nt_time(samdb, offset=offset))
 
     def gkdi_connect(