mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-15 16:22:57 +00:00
wip
This commit is contained in:
@@ -457,7 +457,10 @@ def pytest_terminal_summary(
|
||||
if prop["unit"] == "s":
|
||||
neon_value = prop["value"]
|
||||
vanilla_value = dict(vanilla_report.user_properties)[key]["value"]
|
||||
ratio = float(neon_value) / vanilla_value
|
||||
try:
|
||||
ratio = float(neon_value) / vanilla_value
|
||||
except ZeroDivisionError:
|
||||
ratio = 99999
|
||||
|
||||
results.append((ratio, name.replace("[neon", "[neon/vanilla"), prop["name"]))
|
||||
|
||||
|
||||
@@ -2661,6 +2661,8 @@ def test_output_dir(request: FixtureRequest, top_output_dir: Path) -> Iterator[P
|
||||
|
||||
yield test_dir
|
||||
|
||||
shutil.rmtree(test_dir)
|
||||
|
||||
allure_attach_from_dir(test_dir)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user