URL: https://github.com/SSSD/sssd/pull/705
Title: #705: KCM: Add configurable quotas

jhrozek commented:
"""
I still need to amend the tests:
```
=========================== short test summary info ============================
FAIL test_kcm.py::test_kcm_secrets_quota
FAIL test_secrets.py::test_global_quota

=================================== FAILURES ===================================
____________________________ test_kcm_secrets_quota ____________________________
Traceback (most recent call last):
  File 
"/var/lib/jenkins/workspace/ci/label/fedora28/src/tests/intg/test_kcm.py", line 
555, in test_kcm_secrets_quota
    cli.set_secret(str(MAX_SECRETS), sec_value)
  File "/usr/lib/python2.7/site-packages/_pytest/python_api.py", line 627, in 
__exit__
    fail(self.message)
  File "/usr/lib/python2.7/site-packages/_pytest/outcomes.py", line 92, in fail
    raise Failed(msg=msg, pytrace=pytrace)
Failed: DID NOT RAISE <class 'requests.exceptions.HTTPError'>
______________________________ test_global_quota _______________________________
Traceback (most recent call last):
  File 
"/var/lib/jenkins/workspace/ci/label/fedora28/src/tests/intg/test_secrets.py", 
line 480, in test_global_quota
    run_quota_test(cli, 10, 2)
  File 
"/var/lib/jenkins/workspace/ci/label/fedora28/src/tests/intg/test_secrets.py", 
line 429, in run_quota_test
    cli.set_secret(str(max_secrets), sec_value)
  File "/usr/lib/python2.7/site-packages/_pytest/python_api.py", line 627, in 
__exit__
    fail(self.message)
  File "/usr/lib/python2.7/site-packages/_pytest/outcomes.py", line 92, in fail
    raise Failed(msg=msg, pytrace=pytrace)
Failed: DID NOT RAISE <class 'requests.exceptions.HTTPError'>
```

I have no idea why didn't the sssd-ci tests catch this...maybe somethng for 
@pbrezina to look at?
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/705#issuecomment-446215481
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org

Reply via email to