1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/dsdb
Gary Lockyer 113da7ac67 dsdb audit: Fix timestamp tests
Fix flapping test:
  [242(3560)/242 at 25m3s] samba4.dsdb.samdb.ldb_modules.audit_log
UNEXPECTED(failure):
  samba4.dsdb.samdb.ldb_modules.audit_log.test_operation_json_empty(none)
REASON: Exception: Exception: difftime(after, actual) >= 0
../source4/dsdb/samdb/ldb_modules/tests/test_audit_log.c:74: error:

The tests truncate the microsecond portion of the time, so the
difference could be less than 0.

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

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 26 06:09:46 CEST 2018 on sn-devel-144
2018-06-26 06:09:46 +02:00
..
common dsdb: add defines for sessionInfo and networkSessionInfo 2018-06-09 15:02:11 +02:00
dns dsdb: Fix a typo 2018-06-16 01:06:37 +02:00
kcc samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
repl dsdb: Add log when ignoring a replicated object outside of partition 2018-05-30 07:03:51 +02:00
samdb dsdb audit: Fix timestamp tests 2018-06-26 06:09:46 +02:00
schema dsdb: Fix CID 1034744 Dereference after null check 2018-04-04 00:44:22 +02:00
tests/python tests: Increase PSO test timeouts to minimise failures 2018-06-20 00:18:20 +02:00
pydsdb.c s4/dsdb: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
samdb.pc.in
wscript_build python: Port dsdb module to Python 3 compatible form. 2018-02-15 00:18:29 +01:00