Emmanuel Lécharny created DIRSERVER-2416:
--------------------------------------------

             Summary: SizeLimit and TimeLimit cannot be set as an annotation in 
tests
                 Key: DIRSERVER-2416
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2416
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0.AM27
            Reporter: Emmanuel Lécharny


While the test annotation system seems to allow the setting of size and time 
limit:

{code}
@CreateLdapServer(maxSizeLimit = 3, ...
{code}

this is not processed and injected in the server configuration

A workaround would be to set those values before the tests execution through 
such lines:

{code}
getLdapServe().setMaxSizeLimit( 10 );
getLdapServer().setMaxTimre( 100 );
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to