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:
Dirk Mueller 2018-03-07 23:00:23 +01:00
parent 262025bd2e
commit f27c0f727a
5 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",