---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** open
**Milestone:** forge-backlog
**Labels:** bitesize 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Tue Jul 01, 2014 03:14 PM UTC
**Owner:** nobody

This can fail, sometimes.  I think its because the timings can be too close, 
since it relies on current `utcnow()` values.

~~~~
FAIL: 
allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", 
line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", 
line 1201, in patched
    return func(*args, **keywargs)
  File 
"<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py";,>
 line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from sourceforge.net because [email protected] is subscribed to 
https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to