Skip to content
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

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Mar 24, 2023

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.

@github-actions
Copy link

This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua

@github-actions github-actions bot added the stale label Apr 26, 2023
@mosabua
Copy link
Member

mosabua commented Apr 27, 2023

Is this good to get merged @ebyhr ?

@github-actions github-actions bot removed the stale label Apr 27, 2023
@ebyhr ebyhr requested review from electrum and findepi April 27, 2023 22:54
@@ -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
Copy link
Member

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)

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member Author

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

@ebyhr ebyhr force-pushed the ebi/jdbc-test-version branch from b97bdfe to 0665d73 Compare April 28, 2023 23:11
@ebyhr ebyhr changed the title Update first_tested_version to 368 in JDBC driver test Update first_tested_version to 18 month ago in JDBC driver test Apr 29, 2023
@ebyhr ebyhr force-pushed the ebi/jdbc-test-version branch from 0665d73 to e7409fd Compare April 29, 2023 08:20
@ebyhr ebyhr force-pushed the ebi/jdbc-test-version branch from e7409fd to 9e466b2 Compare July 24, 2023 10:07
This reduces the testing target versions because it leads to timeout on CI.
@ebyhr ebyhr force-pushed the ebi/jdbc-test-version branch from 9e466b2 to 600480c Compare July 24, 2023 12:12
@ebyhr ebyhr merged commit 635116e into trinodb:master Jul 24, 2023
@ebyhr ebyhr deleted the ebi/jdbc-test-version branch July 24, 2023 21:02
@github-actions github-actions bot added this to the 423 milestone Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants