Another minor issue:
If you run 'mvn test' without first doing 'mvn clean', it fails with:

[ERROR]   JDBCDiskCacheUnitTest.testInitializePoolAccess_withPoolName:157
ยป SQL Table already exists: JCSTESTTABLE_INITIALIZEPOOLACCESS in
statement [CREATE CACHED TABLE JCSTESTTABLE_InitializePoolAccess]

Something is not cleaning up properly after a test.

Whilst this does not affect the main code, cleanup issues have been
known to affect the source bundle.
Should ideally be fixed if there is to be a new RC.

On Sat, 6 Apr 2024 at 14:09, Gary D. Gregory <ggreg...@apache.org> wrote:
>
> Thomas,
>
> Running 'mvn clean verify -pl commons-jcs3-core' fails as usual (git master).
>
> The class UDPDiscoverySenderUnitTest is _excluded_ in the POM so it does not 
> even run.
>
> I edited logging.properties:
>
> handlers=java.util.logging.FileHandler
>
> .level = FINER
>
> java.util.logging.FileHandler.level=FINER
> java.util.logging.FileHandler.pattern=target/jcs-logging-%g.log
> java.util.logging.FileHandler.limit = 100000
> java.util.logging.FileHandler.count = 2
> java.util.logging.FileHandler.append=true
> java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
> java.util.logging.SimpleFormatter.format=[%1$tF %1$tT] %3$s [%4$-7s] %5$s %n
>
> and ran:
>
> mvn test -Dtest=UDPDiscoverySenderEncryptedUnitTest
>
> which failed with the log here: https://paste.apache.org/b4p09
>
> TY,
> Gary
>
>
> On 2024/04/06 12:46:20 Thomas Vandahl wrote:
> > Hi Gary,
> >
> > > Am 06.04.2024 um 14:10 schrieb Gary D. Gregory <ggreg...@apache.org>:
> > >
> > > Hi Thomas,
> > >
> > > I ran:
> > >
> > > mvn test -Dtest=UDPDiscoverySenderUnitTest -X >\test\out.txt
> > >
> > > and killed it after 10 minutes since it never finished. I tried 3 times.
> >
> > Thanks. Not good.
> > Could you please repeat the test with the log levels in 
> > /commons-jcs3-core/src/test/test-conf/logging.properties set to FINER and 
> > send me the content of target/jcs-logging-0.log?
> >
> > Does this test run successfully when you run mvn clean verify for 
> > commons-jcs3-core?
> >
> > Bye, Thomas
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

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

Reply via email to