From fe42028a251021e39c2ba68f0ad42dc135bbc7c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Barb=C3=A1chano?= Date: Tue, 19 Dec 2023 19:00:49 +0100 Subject: [PATCH] fixup! fix: make A/B tests work in release branches --- tests/framework/ab_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/framework/ab_test.py b/tests/framework/ab_test.py index 2c0d6bfde803..2724d605667b 100644 --- a/tests/framework/ab_test.py +++ b/tests/framework/ab_test.py @@ -280,7 +280,8 @@ def temporary_checkout(revision: str): """ with TemporaryDirectory() as tmp_dir: basename = Path(tmp_dir).name - utils.run_cmd(f"git worktree add -b {basename} {tmp_dir} {revision}") + # utils.run_cmd(f"git worktree add -b {basename} {tmp_dir} {revision}") + utils.run_cmd(f"git worktree add {tmp_dir} {revision}") yield Path(tmp_dir) # If we compiled firecracker inside the checkout, python's recursive shutil.rmdir will