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:
parent
62886a41c0
commit
f822d67dc7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue