lower repair period in e2e tests

This commit is contained in:
Felix Kunde 2022-02-17 10:15:24 +01:00
parent 0f900661cc
commit e2ae25daf7
1 changed files with 5 additions and 1 deletions

View File

@ -203,7 +203,8 @@ class EndToEndTestCase(unittest.TestCase):
"enable_postgres_team_crd": "true", "enable_postgres_team_crd": "true",
"enable_team_member_deprecation": "true", "enable_team_member_deprecation": "true",
"role_deletion_suffix": "_delete_me", "role_deletion_suffix": "_delete_me",
"resync_period": "15s" "resync_period": "15s",
"repair_period": "10s",
}, },
} }
k8s.update_config(enable_postgres_team_crd) k8s.update_config(enable_postgres_team_crd)
@ -287,6 +288,7 @@ class EndToEndTestCase(unittest.TestCase):
revert_resync = { revert_resync = {
"data": { "data": {
"resync_period": "4m", "resync_period": "4m",
"repair_period": "1m",
}, },
} }
k8s.update_config(revert_resync) k8s.update_config(revert_resync)
@ -1287,6 +1289,7 @@ class EndToEndTestCase(unittest.TestCase):
"data": { "data": {
"pod_label_wait_timeout": "2s", "pod_label_wait_timeout": "2s",
"resync_period": "30s", "resync_period": "30s",
"repair_period": "10s",
} }
} }
@ -1328,6 +1331,7 @@ class EndToEndTestCase(unittest.TestCase):
"data": { "data": {
"pod_label_wait_timeout": "10m", "pod_label_wait_timeout": "10m",
"resync_period": "4m", "resync_period": "4m",
"repair_period": "2m",
} }
} }
k8s.update_config(patch_resync_config, "revert resync interval and pod_label_wait_timeout") k8s.update_config(patch_resync_config, "revert resync interval and pod_label_wait_timeout")