[SSSD] [PATCH] TEST: recent_valid filter testing

Petr Cech pcech at redhat.com
Fri Oct 2 11:55:29 UTC 2015


Hi,

there is WiP attached. I removed some tests like this one some time ago. 
They fail really often and we decided that the test logic was corrupted. 
Now I am trying get it back to the codebase.

There is some kind of cmocka magic around data provider. I think it 
creates test_user_1 during creation of filter.

In case of this type of tests, we need two users, one stored before 
filter request and one stored after filter request. There is a special 
type of filter which has time parameter which it search from. So the 
filter returns only one user.

If this concept is right, I will send whole patch.

Regards

Petr

PS: I applied my patch after 000*-cache_req_*. Those patches are on list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TEST-recent_valid-filter-testing.patch
Type: text/x-patch
Size: 4440 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20151002/f950dedd/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cache_req-provide-extra-flag-for-oob-request.patch
Type: text/x-patch
Size: 2178 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20151002/f950dedd/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cache_req-add-support-for-UPN.patch
Type: text/x-patch
Size: 36337 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20151002/f950dedd/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-cache_req-tests-reduce-code-duplication.patch
Type: text/x-patch
Size: 83519 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20151002/f950dedd/attachment-0007.bin>


More information about the sssd-devel mailing list