Issue #7135 has been updated by Nigel Kersten.

Status changed from Unreviewed to Accepted


----------------------------------------
Bug #7135: fact spec failure in non PST timezone
https://projects.puppetlabs.com/issues/7135

Author: Brice Figureau
Status: Accepted
Priority: Low
Assignee: 
Category: testing
Target version: 
Affected Puppet version: 2.7.0rc1
Keywords: 
Branch: 


When running the spec/unit/node/fact_spec.rb rspec on a computer with a 
different timezone than PST, we get:
<pre>
  1) Puppet::Node::Facts when indirecting when storing and retrieving using 
pson should generate properly formatted pson
     Failure/Error: facts.to_pson.should == 
%Q[{"data":{"name":"foo","timestamp":"Thu Oct 28 11:16:31 -0700 
2010","expiration":"Thu Oct 28 11:21:31 -0700 
2010","values":{"a":1,"b":2,"c":3}},"document_type":"Puppet::Node::Facts"}]
       expected: "{\"data\":{\"name\":\"foo\",\"timestamp\":\"Thu Oct 28 
11:16:31 -0700 2010\",\"expiration\":\"Thu Oct 28 11:21:31 -0700 
2010\",\"values\":{\"a\":1,\"b\":2,\"c\":3}},\"document_type\":\"Puppet::Node::Facts\"}"
            got: "{\"data\":{\"name\":\"foo\",\"timestamp\":\"Thu Oct 28 
20:16:31 +0200 2010\",\"expiration\":\"Thu Oct 28 20:21:31 +0200 
2010\",\"values\":{\"a\":1,\"b\":2,\"c\":3}},\"document_type\":\"Puppet::Node::Facts\"}"
 (using ==)
     # ./unit/node/facts_spec.rb:129
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to