a11a0561f324860f1381a3b57212e20ede1ad05f |
|
03-Sep-2015 |
Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com> |
Fix randomness in ChangelogBackendTestCase
ChangelogBackendTestCase.java:
In searchChangelog(), move the assert on the SearchOperation ResultCode inside the loop that asserts the number of returned search entries.
ExternalChangelogRequestControl.java:
In getCookie(), copied the cookie using new MultiDomainServerState constructor. This prevents unit tests from mutating the cookie coming from the control and making repeated calls with the same SearchRequest fail.
MultiDomainServerState.java, MultiDomainServerStateTest.java:
Added copy constructor + tests |