[keycloak-dev] AccoutTest.viewLog randomly fails

Stian Thorgersen stian at redhat.com
Wed Sep 3 02:54:34 EDT 2014


Should be fixed now, let me know if there's still problems with it

----- Original Message -----
> From: "Stian Thorgersen" <stian at redhat.com>
> To: "Bill Burke" <bburke at redhat.com>
> Cc: keycloak-dev at lists.jboss.org
> Sent: Tuesday, 2 September, 2014 4:53:17 PM
> Subject: Re: [keycloak-dev] AccoutTest.viewLog randomly fails
> 
> I bet it's caused by the tests running so quickly that the register and login
> events have the same timestamp.
> 
> The events it's checking against are held in a list by the test itself, so
> they will be ordered chronological, while the events showing on the account
> log page will be sorted by time (and events with the same time could easily
> swap around).
> 
> I'll fix the test tomorrow morning!
> 
> ----- Original Message -----
> > From: "Bill Burke" <bburke at redhat.com>
> > To: keycloak-dev at lists.jboss.org
> > Sent: Tuesday, 2 September, 2014 4:24:09 PM
> > Subject: [keycloak-dev] AccoutTest.viewLog randomly fails
> > 
> > AccountTest.viewLog:403 expected:<[login]> but was:<[register]>
> > 
> > This happens to me a lot and I can't figure out why.  It only happens in
> > a full build.  I can't replicate it in IDE, or if I run testsuite alone.
> > 
> > --
> > Bill Burke
> > JBoss, a division of Red Hat
> > http://bill.burkecentral.com
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> > 
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 


More information about the keycloak-dev mailing list