>>>>> Grzegorz Grzybek <
gr.grzybek-Re5JQ...@public.gmane.org>:
> I see your messages about Pax Exam problems and frustrations and while I
> don't have answers for your questions about liquibase OSGi problems
Well... heh!
I worked my way around the liquibase problems yesterday by swapping
derby in the pax exam test of the feature with h2.
So now there is a new version of the liquibase feature post 4.23.0 released.
But then I decided to go back and recreate the error with derby and
bisect my way through the liquibase changes from 4.23.0 to 4.23.1 and
find out which change broke things.
Only: today I couldn't reproduce the pax exam problem that has bugged me
since early autumn this year. The problem I'm getting now is the same
one I saw in h2: the order of the returned objects had changed.
So I'm wondering if what I spent a lot of time looking at was completely
the wrong thing?
Ie. that what I thought was a problem in liquibase/derby in acquiring
the lock, was actually an artifact of the test being restarted because
an assert failed?
So I'm trying to learn the pax exam life cycle to not be fooled again.
It *has* to be possible to understand, doesn't it...? :-)
For the record: Version 4.24.0 of the feature is the newest.
(there is a 4.25.0 version of the feature but that is a mistaken
release, and also version 4.25.0 of liquibase doesn't work right in
OSGi, but there is a fix underway
Thanks! I'll take a look at that!
> And yes - setting it up correctly with proper logging (with conflicting
> classloaders from Pax Exam, maven-failsafe-plugin and OSGi itself) is very
> tricky...
Indeed it is!
And everytime I think I've understood it I'm hit by something
unexpected.
But right now, what I don't like, is that an error that has been stable
for several months, an error that was reproducable on several machines
and in gitlab actions, have gone away and I can't bring it back by going
back in my git history.
I have a feeling this has happened to me in my pax exam years...?
So it would be nice to actually understand how pax exam works! :-)