[logback-user] Building logback when tests fail

ceki ceki at qos.ch
Tue Oct 25 22:35:33 CEST 2011


BTW, I am working on making the tests more robust. In principle, you 
should be able to build the project in maven, which will create the 
required scala test classes. Once the scala test classes are built, you 
won't even need to install the Scala plugin for IDEA. (However, I have 
not tried this, so the Scala plugin might be required after all.)

If you run into trouble, just ask for help here.

On 25/10/2011 8:36 PM, ceki wrote:
>
> Classes ending in STest are tests classes written in Scala. You need to
> add the Scala plugin to IDEA and then add Scala facet to the project.
>
> On 25/10/2011 6:17 PM, Thorbjørn Ravn Andersen wrote:
>> In that case it appears that I am missing some files. IDEA 10 (Community
>> Edition) complains about plenty e..g not being able to find
>>
>> SizeBasedRolling_STest.class,
>> TimeBasedRolling_STest.class,
>> SizeAndTimeBasedFNATP_STest.class
>>
>> And there were some comments about refactoring these five months ago.
>>
>> Can anybody else either confirm my findings that logback doesn't build or
>> confirm that repository X builds as is of today?
>>
>>
>> -----Original Message-----
>> From: logback-user-bounces at qos.ch [mailto:logback-user-bounces at qos.ch] On
>> Behalf Of ceki
>> Sent: 25. oktober 2011 15:03
>> To: logback users list
>> Subject: Re: [logback-user] Building logback when tests fail
>>
>> On 25/10/2011 2:34 PM, Thorbjørn Ravn Andersen wrote:
>>> Thanks for a prompt reply.
>>>
>>> I am building directly from a clone of git master. Is there a specific
>> tag
>>> I should use to choose a suitable commit?
>>
>> No, need to chose a special tag or commit. Clone of master should be
>> fine.
>>
>>> Maven reports:
>>>
>>>
>>> Tests in error:
>>>
>>>
>> autoConfigFromSystemProperties(ch.qos.logback.classic.util.ContextInitialize
>>
>>> rTest)
>>
>> [snip]
>>
>> That's a lot of failures.
>>
>>> Tests run: 374, Failures: 0,git Errors: 17, Skipped: 10
>>>
>>> You may have forgotten to check in some files? Have your CI-engine
>> reported
>>> anything?
>>
>> No, logback build on different machines. However, on busy or slow
>> machines build failures occur frequently. Failures in
>> ContextInitializerTest seem to indicate that the tests are not run in
>> an independent JVM. Failures in ReconfigureOnChangeTest indicate that
>> the tests are run on a slow/busy machine.
>>
>> It sucks that logback does not build on all machines.
>>
>>> If you use IDEA and it works well, I'll have a go tomorrow. We happen to
>>> have a license for IntelliJ IDEA 9.
>>
>> IDEA licenses are date-based, at the least the license I have is. So
>> you should be able to upgrade to the latest version of IDEA with your
>> existing license.
>>
>> --
>> Ceki

>


-- 
--
Ceki
http://twitter.com/#!/ceki


More information about the Logback-user mailing list