Skip to content

Commit 03863f4

Browse files
committed
Switch back ffwding
1 parent 2cec900 commit 03863f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integration/test_tls.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ async def test_tls_enabled(ops_test: OpsTest) -> None:
110110
)
111111
change_primary_start_timeout(ops_test, primary, 0)
112112

113-
# Pause Patroni so it doesn't wipe the custom changes
114-
await change_patroni_setting(ops_test, "pause", True, use_random_unit=True, tls=True)
113+
# Pause Patroni so it doesn't wipe the custom changes
114+
await change_patroni_setting(ops_test, "pause", True, use_random_unit=True, tls=True)
115115

116116
async with ops_test.fast_forward("24h"):
117117
for attempt in Retrying(
@@ -174,6 +174,7 @@ async def test_tls_enabled(ops_test: OpsTest) -> None:
174174

175175
await change_patroni_setting(ops_test, "pause", False, use_random_unit=True, tls=True)
176176

177+
async with ops_test.fast_forward():
177178
# Remove the relation.
178179
await ops_test.model.applications[DATABASE_APP_NAME].remove_relation(
179180
f"{DATABASE_APP_NAME}:certificates", f"{tls_certificates_app_name}:certificates"

0 commit comments

Comments
 (0)