Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] passing timeout option during maven build

On 02/22/2013 04:24 PM, Mickael Istria wrote:
> On 02/22/2013 02:33 PM, Lorenzo Bettini wrote:
>> I was asking in this list because I was referring to testing swtbot test
>> suite itself, thus, more related to developers of swtbot :)
> Oh, OK I didn't get it.
> 
>> I'm setting a job on a personal Jenkins and I still have problems with
>> the test suite, could you please provide some hints (I see your hudson
>> job works fine)?
>> how did you configure your hudson job for swtbot? Of course I'm
>> referring to the build with Indigo.
>> should I use another DISPLAY also for the Jenkins job?
> 
> 
> See https://hudson.eclipse.org/hudson/view/SWTBot/job/swtbot-tycho/configure

Since I'm not a committer I don't have enough access rights to see that
page (I tried to login with my Eclipse credentials but they are refused :)

> It uses Xvnc plugin + metacity. The Xvnc plugin should set you a DISPLAY.
> I think you mustn't use Xvfb and Xvnc at the same time.
> 
>> Note that I'm using Jenkins with many jobs for my projects relying on
>> swtbot for the tests and they always work fine; I'm having problems only
>> with the test suite of swtbot itself :)
> On hudson.eclipse.org, the test suite sometimes has timeouts. It's
> generally because of bad luck and re-triggering the job makes all the
> errors go away.

with Xvnc only, after many attempts, all tests pass :)

probably it's a timeout problem as you said; that's why I tried to
increase the timeout, but then the tests with the expected hardcoded
timeout fail; I'll try to provide a patch so that those tests save the
current timeout, set it to 5 seconds, and then reset it.

cheers
	Lorenzo


-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com




Back to the top