[TEST] Increase processing delay in LDAP tests (#33410)
SearchGroupsResolverInMemoryTests was (rarely) fail in a way that suggests that the server-side delay (100ms) was not enough to trigger the client-side timeout (5ms). The server side delay has been increased to try and overcome this. Resolves: #32913
This commit is contained in:
parent
432e61c971
commit
df521c1d3e
|
@ -46,10 +46,10 @@ public class SearchGroupsResolverInMemoryTests extends LdapTestCase {
|
|||
* than simply returning no results.
|
||||
*/
|
||||
public void testSearchTimeoutIsFailure() throws Exception {
|
||||
ldapServers[0].setProcessingDelayMillis(100);
|
||||
ldapServers[0].setProcessingDelayMillis(500);
|
||||
|
||||
final LDAPConnectionOptions options = new LDAPConnectionOptions();
|
||||
options.setConnectTimeoutMillis(500);
|
||||
options.setConnectTimeoutMillis(1500);
|
||||
options.setResponseTimeoutMillis(5);
|
||||
connect(options);
|
||||
|
||||
|
|
Loading…
Reference in New Issue