Skip to content

Commit

Permalink
fixup! fix: make A/B tests work in release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
pb8o committed Dec 19, 2023
1 parent 2eaf10d commit fe42028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/framework/ab_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe42028

Please sign in to comment.