Skip to content

Commit a2cdfc7

Browse files
Drop unrelated teardown changes
1 parent 10d1581 commit a2cdfc7

2 files changed

Lines changed: 1 addition & 60 deletions

File tree

test/features/environment.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ def after_scenario(context, _):
134134
context.cli.expect_exact(f"{user}@{host}:{dbname}>", timeout=5)
135135
context.cli.sendcontrol("c")
136136
context.cli.sendcontrol("d")
137-
try:
138-
context.cli.expect_exact(pexpect.EOF, timeout=5)
139-
except pexpect.TIMEOUT:
140-
context.cli.terminate(force=True)
137+
context.cli.expect_exact(pexpect.EOF, timeout=5)
141138

142139
if os.path.exists(MY_CNF_BACKUP_PATH):
143140
shutil.move(MY_CNF_BACKUP_PATH, MY_CNF_PATH)

test/pytests/test_feature_environment.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)