Skip to content

Commit

Permalink
fix: make A/B tests work in release branches
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
  • Loading branch information
pb8o committed Dec 19, 2023
1 parent ee73ec4 commit 25126f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework/ab_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

# Locally, this will always compare against main, even if we try to merge into, say, a feature branch.
# We might want to do a more sophisticated way to determine a "parent" branch here.
DEFAULT_A_REVISION = os.environ.get("BUILDKITE_PULL_REQUEST_BASE_BRANCH", "main")
DEFAULT_A_REVISION = "origin/" + os.environ.get("BUILDKITE_PULL_REQUEST_BASE_BRANCH", "main")


T = TypeVar("T")
Expand Down

0 comments on commit 25126f9

Please sign in to comment.