osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis issue #2460: ARTEMIS-2201 Added tests on DEFAULT_JOURNAL_FI...


Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2460
  
    @mnovak1 @feuillemorte `JournalFilesRepository.journalFileOpenTimeout` isn't public or exposed by any getter hence to check it can be done in 2 ways:
    
    1. using a mock to intercept it when created
    2. exposing it with a getter on `JournalFilesRepository` so it can be verified
    
    AFAIK we are not doing it for the other classes, so I think it can be avoided.
    But if we have some good reason to do it, @feuillemorte can find a proper way to do it :+1: 


---