1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[ibm] Expiration time should be epoch in ms

This commit is contained in:
Decklin Foster 2012-02-29 22:24:04 -05:00
parent 62886a41c0
commit f822d67dc7

View file

@ -40,7 +40,7 @@ Shindo.tests('Fog::Compute[:ibm] | instance requests', ['ibm']) do
@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)