Hi Andrea,

There have some error about wms image show.

Tests run: 56, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.28 sec
<<< FAILURE!
testLayoutTranslucent(org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest)
Time elapsed: 54 sec  <<< FAILURE!
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at
org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest.testLayoutTranslucent(GetMapIntegrationTest.java:366)

And I found in*
wms\src\test\java\org\geoserver\wms\GetMapIntegrationTest.java* line 366:
// see GEOS-6482
assertTrue(getPixelColor(image, 52, 221).equals(Color.BLACK)
|| getPixelColor(image, 52, 222).equals(Color.BLACK));

It is also image pixel assert error.
I don't know why need to assert pixel on image?

Best,
KuanYu


2017-12-06 0:25 GMT+08:00 KuanYu Shen <[email protected]>:

> This is second test error in windows environment.
>
> ------------------------------------------------------------
> -------------------
> Test set: org.geoserver.wms.legendgraphic.LegendLayoutTest
> ------------------------------------------------------------
> -------------------
> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.17 sec
> <<< FAILURE!
> testLayerGroupTitles(org.geoserver.wms.legendgraphic.LegendLayoutTest)
> Time elapsed: 4 sec  <<< FAILURE!
> java.lang.AssertionError: Expected height <= 168 but was 174
>
> And I found in 
> *wms\src\test\java\org\geoserver\wms\legendgraphic\LengLayoutTest.java
> *line 307~308:
> // Title height may vary between test environments
> assertTrue("Expected height >= " + (HEIGHT_HINT*6 + 42) + " but was " +
> image.getHeight(),HEIGHT_HINT*6 + 42 <= image.getHeight());
> assertTrue("Expected height <= " + (HEIGHT_HINT*6 + 48) + " but was " +
> image.getHeight(), HEIGHT_HINT*6 + 48 >= image.getHeight());
>
> How to define these (HEIGHT_HINT*6 + 42) and (HEIGHT_HINT*6 + 48)?
>
>
>
> 2017-12-05 21:19 GMT+08:00 KuanYu Shen <[email protected]>:
>
>> I just get the tiff files in Linux and recompress those files in windows
>> environment.
>> I think it was not compressed file completely before.
>>
>> I have not created a pull request on Github.
>>
>> Thank for your help about answering my question!
>>
>> Best,
>> KuanYu
>>
>> 2017-12-05 16:33 GMT+08:00 Andrea Aime <[email protected]>:
>>
>>> On Tue, Dec 5, 2017 at 6:53 AM, KuanYu Shen <[email protected]> wrote:
>>>
>>>> I have know custwatertemp_time.zip have error in windows and have
>>>> corrected.
>>>>
>>>
>>> What did you change?
>>>
>>>
>>>> I will continue to debug other errors in windows environment.
>>>>
>>>
>>> Thank you!
>>>
>>> Cheers
>>> Andrea
>>>
>>> ==
>>>
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Andrea Aime
>>> @geowolf
>>> Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> 55054  Massarosa
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> (LU)
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>>> mob: +39  339 8844549 <+39%20339%20884%204549>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility  for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>>
>>
>>
>> --
>>
>> *KuanYu Shen*
>>
>>
>> e-mail: [email protected]
>>
>>
>> phone: +886-978822075 <+886%20978%20822%20075>
>>
>>
>
>
> --
>
> *KuanYu Shen*
>
>
> e-mail: [email protected]
>
>
> phone: +886-978822075 <+886%20978%20822%20075>
>
>


-- 

*KuanYu Shen*


e-mail: [email protected]


phone: +886-978822075
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to