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(a)redhat.com>
To: keycloak-dev(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev