On Tue, May 13, 2014 at 09:37:12PM +0100, Chris Withers wrote:
> Has anyone had any joy with jenkins nodes that are not at the same
> point in time as the master?
> 
> One of the systems I work with is sensitive to daylight savings
> changes, and so we'd like to have some nodes be a week or two ahead
> of the current date, so that we know what will happen when we next
> cross the DST boundary.
> 
> Has anyone done anything like this or have any ideas for doing this
> kind of testing, particularly with Jenkins jobs?

I would be reluctant to muck with system time.  How about changing your
builds to do

  faketime -f '+7d' make test

or something like that?  See http://github.com/wolfcw/libfaketime
(packaged for Ubuntu in the 'faketime' package).

(Of course LD_PRELOAD-based solutions only work for Linux builds.  I've
no suggestions for other OSes.)

Marius Gedminas
-- 
I'm sure it would be possible to speed apport up a lot, after we're done
making boot and login instantaneous.
                -- Lars Wirzenius

Attachment: signature.asc
Description: Digital signature

Reply via email to