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: I59707cdf21f6843dbd7db30978e21cff72756e67
This commit is contained in:
parent
3799d7cacd
commit
af4637bcf2
@ -334,7 +334,7 @@ class AclTestCase(base.TestCase):
|
||||
|
||||
secret_no_payload = {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
|
@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
|
||||
|
||||
create_secret_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",
|
||||
|
@ -109,7 +109,7 @@ class BaseContainerTestCase(base.TestCase):
|
||||
def _create_a_secret(self):
|
||||
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",
|
||||
@ -389,7 +389,7 @@ class ContainersPagingTestCase(base.PagingTestCase):
|
||||
def _create_a_secret(self):
|
||||
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",
|
||||
|
@ -84,7 +84,7 @@ def get_passphrase_req():
|
||||
def get_default_data():
|
||||
return {
|
||||
"name": "AES key",
|
||||
"expiration": "2018-02-28T19:14:44.180394",
|
||||
"expiration": "2020-02-28T19:14:44.180394",
|
||||
"algorithm": "aes",
|
||||
"bit_length": 256,
|
||||
"mode": "cbc",
|
||||
@ -135,7 +135,7 @@ class SecretsTestCase(base.TestCase):
|
||||
|
||||
self.default_secret_create_two_phase_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",
|
||||
|
@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
|
||||
|
||||
create_secret_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",
|
||||
|
@ -23,7 +23,7 @@ from functionaltests.api.v1.models import secret_models
|
||||
|
||||
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",
|
||||
|
@ -24,7 +24,7 @@ from functionaltests.api.v1.models import secret_models
|
||||
|
||||
default_secret_create_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",
|
||||
@ -61,7 +61,7 @@ default_secret_create_emptystrings_data = {
|
||||
|
||||
default_secret_create_two_phase_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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user