Updating time for functional tests
Currenlty, some gates is being failed with logs like this
"""
b'Response: {"description": "Provided object does not match schema
\'Secret\': \'expiration\' is before current time.
Invalid property: \'expiration\'", "title": "Bad Request", "code": 400}'
"""
So it is necessary to update the time to create secrets successfully.
Change-Id: I4f2d3817d9a2380919d16e76ef5dcba3ec62e5a1
This commit is contained in:
@@ -24,7 +24,7 @@ from barbicanclient import exceptions
|
||||
|
||||
create_secret_defaults_data = {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
|
||||
@@ -22,7 +22,7 @@ from barbicanclient import exceptions
|
||||
|
||||
create_secret_defaults_data = {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
|
||||
@@ -28,7 +28,7 @@ from testtools import testcase
|
||||
|
||||
secret_create_defaults_data = {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
|
||||
@@ -20,7 +20,7 @@ from testtools import testcase
|
||||
|
||||
create_secret_defaults_data = {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
|
||||
@@ -21,7 +21,7 @@ from testtools import testcase
|
||||
|
||||
secret_create_defaults_data = {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
|
||||
Reference in New Issue
Block a user