I think we already checked that, but it has nothing to do the with a particular windows slave, no? On 2013-09-05, at 10:07, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 05 Sep 2013, at 11:25, Damien Cassou <damien.cassou@gmail.com> wrote:
On Thu, Sep 5, 2013 at 9:51 AM, <no-reply@ci.inria.fr> wrote:
1 regressions found. Zinc.Zodiac.ZnHTTPSTests.testGetPharoVersion
it seems that this test fails very often. Can we do anything about it?
It only fails on Windows, and only from time to time ;-)
All it does is basically access one HTTPS URL
https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*...
testGetPharoVersion | client lastBuildVersion version | self ensureSocketStreamFactory. self isNativeSSLPluginPresent ifFalse: [ ^ self ]. lastBuildVersion := (client := ZnClient new) beOneShot; get: 'https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*...'. self assert: client isSuccess. self assert: (client response contentType matches: ZnMimeType applicationXml). self assert: client response contentLength > 0. self assert: lastBuildVersion notNil. self assert: lastBuildVersion isString. self assert: lastBuildVersion size > 0. version := (lastBuildVersion copyAfter: $>) copyUpTo: $<. self deny: version isEmpty
This is a regression test for a bug that once existed, long ago. Normally, I try to add such a test for each issue that I fix.
Sven
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill