Skip to content

Commit 86ecede

Browse files
committed
Fix a bug in test_get_grackle_version
Essentially, a bug made the test fail if you ran the test and you had checked out the commit associated with the tag of the most recent grackle version number.
1 parent de7445b commit 86ecede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/tests/test_get_grackle_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def _run(args):
4141
latest_tagged_version = most_recent_tag[len(prefix) :]
4242

4343
# get the actual revision when most_recent tag was introduced
44-
revision_of_tag = _run(["git", "rev-parse", "-n", "1", most_recent_tag])
44+
revision_of_tag = _run(["git", "rev-list", "-n", "1", most_recent_tag])
4545

4646
# get the branch name and current revision
4747
branch = _run(["git", "rev-parse", "--abbrev-ref", "HEAD"])

0 commit comments

Comments
 (0)