summaryrefslogtreecommitdiffstats
path: root/tests/features/steps/specials.py
diff options
context:
space:
mode:
authorIrina Truong <i.chernyavska@gmail.com>2021-05-21 15:32:34 -0700
committerGitHub <noreply@github.com>2021-05-21 15:32:34 -0700
commite0a4c18c4a074016beef46886b03e456102e2db1 (patch)
tree8e0f57064035bd73faab5d4dea3446dc2c5c376c /tests/features/steps/specials.py
parentd8532df22e1f309c8a05a452d752bd30f4869bbe (diff)
Another attempt to fix pgbouncer error (1093.) (#1097)
* Another attempt to fix pgbouncer error (1093.) * Fixes for various pgbouncer problems. * different approach with custom cursor. * Fix rebase. * Missed this. * Fix completion refresher test. * Black. * Unused import. * Changelog. * Fix race condition in test. * Switch from is_pgbouncer to more generic is_virtual_database, and duck-type it. Add very dumb unit test for virtual cursor. * Remove debugger code.
Diffstat (limited to 'tests/features/steps/specials.py')
-rw-r--r--tests/features/steps/specials.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/features/steps/specials.py b/tests/features/steps/specials.py
index 813292c4..a85f3710 100644
--- a/tests/features/steps/specials.py
+++ b/tests/features/steps/specials.py
@@ -22,5 +22,10 @@ def step_see_refresh_started(context):
Wait to see refresh output.
"""
wrappers.expect_pager(
- context, "Auto-completion refresh started in the background.\r\n", timeout=2
+ context,
+ [
+ "Auto-completion refresh started in the background.\r\n",
+ "Auto-completion refresh restarted.\r\n",
+ ],
+ timeout=2,
)