Thanks, Andrea!
This fixed it!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Mar 15, 2016 at 1:36 PM, andrea del bene <[email protected]>
wrote:

> Tested with Oracle JDK 7 and everything is ok. I think the problem is the
> machine default locale (see DefaultMarkupCacheKeyProvider#getCacheKey).
> Mine is en_US and most likely also the one used by buildbot. Maybe even
> Sven has the same config on Ubuntu. I can override getLocale on the test
> page (InlineEnclosureWithWicketMessagePage) to always return Locale.US.
>
>
>
> On 15/03/2016 09:31, Martin Grigorov wrote:
>
>> I think it is because Oracle JDK and OpenJDK have different
>> implementations
>> of Object#hashCode().
>> I use :
>> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
>> 2014-02-14T18:37:52+01:00)
>> Maven home: /home/martin/devel/apache-maven-3.2.1
>> Java version: 1.7.0_72, vendor: Oracle Corporation
>> Java home: /home/martin/devel/jdk1.7.0_72/jre
>> Default locale: bg_BG, platform encoding: UTF-8
>> OS name: "linux", version: "4.2.0-30-generic", arch: "amd64", family:
>> "unix"
>>
>> Anyone using Oracle JDK to confirm ?
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Tue, Mar 15, 2016 at 8:50 AM, Sven Meier <[email protected]> wrote:
>>
>> Build works fine here on command line (OpenJDK on Ubuntu)
>>>
>>> Sven
>>>
>>>
>>> On 14.03.2016 23:05, Martin Grigorov wrote:
>>>
>>> The tests fail only on command line.
>>>> In the IDE they pass.
>>>>
>>>> Martin Grigorov
>>>> Wicket Training and Consulting
>>>> https://twitter.com/mtgrigorov
>>>>
>>>> On Mon, Mar 14, 2016 at 10:57 PM, Martin Grigorov <[email protected]
>>>> >
>>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>>> Locally the build of 7.x fails with:
>>>>>
>>>>> Failed tests:
>>>>>
>>>>>
>>>>>
>>>>> InlineEnclosureTest.inlineEnclosureWithWicketMessageInvisible:137->WicketTestCase.executeTest:112->Assert.assertEquals:115
>>>>>
>>>>>
>>>>> org/apache/wicket/markup/html/internal/InlineEnclosureWithWicketMessagePage_invisible_expected.html
>>>>> expected:<...ket__message__attr__[1134633999]1" style="display:no...>
>>>>> but
>>>>> was:<...ket__message__attr__[_1502619558]1" style="display:no...>
>>>>>
>>>>>
>>>>>
>>>>> InlineEnclosureTest.inlineEnclosureWithWicketMessageVisible:122->WicketTestCase.executeTest:112->Assert.assertEquals:115
>>>>>
>>>>>
>>>>> org/apache/wicket/markup/html/internal/InlineEnclosureWithWicketMessagePage_visible_expected.html
>>>>> expected:<...ket__message__attr__[1134633999]1" title="Some title...>
>>>>> but
>>>>> was:<...ket__message__attr__[_1502619558]1" title="Some title...>
>>>>>
>>>>>
>>>>> BuildBot is fine.
>>>>>
>>>>> Anyone else having this problem ?
>>>>>
>>>>>
>>>>> Martin Grigorov
>>>>> Wicket Training and Consulting
>>>>> https://twitter.com/mtgrigorov
>>>>>
>>>>>
>>>>>
>

Reply via email to