Skip to content

Commit

Permalink
[ibm] Expiration time should be epoch in ms
Browse files Browse the repository at this point in the history
  • Loading branch information
decklin committed Mar 21, 2012
1 parent 62886a4 commit f822d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ibm/requests/compute/instance_tests.rb
Expand Up @@ -40,7 +40,7 @@
@image_id = "20010001"
@instance_type = "COP32.1/2048/60"
@location = "41"
@expiration_time= (Time.now.tv_usec + 10000).to_f * 1000
@expiration_time= (Time.now.to_i + 10) * 1000
@key_name = "fog-test-key-" + Time.now.to_i.to_s(32)
@key = Fog::Compute[:ibm].keys.create(:name => @key_name)

Expand Down

0 comments on commit f822d67

Please sign in to comment.