-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update first_tested_version
to 18 month ago in JDBC driver test
#16701
Conversation
This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua |
Is this good to get merged @ebyhr ? |
@@ -10,7 +10,7 @@ maven_run_tests="${maven} clean test ${MAVEN_TEST:--B} -pl :trino-test-jdbc-comp | |||
|
|||
current_version=$(${maven} help:evaluate -Dexpression=project.version -q -DforceStdout) | |||
previous_released_version=$((${current_version%-SNAPSHOT}-1)) | |||
first_tested_version=352 | |||
first_tested_version=368 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we automate that?
eg
trino master$ git tag --contain $(git rev-list master --since='18 month ago' | tail -1) | sort | head -1
364
(to be verified whether git rev-list master --since
filters by author-date or commit-date; we must use the latter)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea. Updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for considering my idea!
(to be verified whether
git rev-list master --since
filters by author-date or commit-date; we must use the latter)
i haven't verified that. Have you?
also, would this one be better?
--since-as-filter=<date>
Show all commits more recent than a specific date. This visits all commits in the range, rather than stopping at the first commit which is older than a specific date.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The filter uses commit-date as far as I tested and confirmed git/git@9669778
b97bdfe
to
0665d73
Compare
first_tested_version
to 368 in JDBC driver testfirst_tested_version
to 18 month ago in JDBC driver test
0665d73
to
e7409fd
Compare
e7409fd
to
9e466b2
Compare
This reduces the testing target versions because it leads to timeout on CI.
9e466b2
to
600480c
Compare
Description
Update
first_tested_version
to 368 in JDBC driver test to avoid CI timeout.Release notes
(x) This is not user-visible or docs only and no release notes are required.