-
Notifications
You must be signed in to change notification settings - Fork 171
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
SNOW-920999 add proxy tests using wiremock #1807
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sfc-gh-akolodziejczyk
changed the title
SNOW-920999
SNOW-920999 add proxy tests using wiremock
Jun 27, 2024
sfc-gh-akolodziejczyk
force-pushed
the
SNOW-920999
branch
7 times, most recently
from
June 28, 2024 14:51
e9d7f39
to
983481e
Compare
sfc-gh-akolodziejczyk
force-pushed
the
SNOW-920999
branch
from
June 28, 2024 14:53
983481e
to
c02c086
Compare
sfc-gh-pfus
reviewed
Jun 28, 2024
src/test/java/net/snowflake/client/RunningNotOnJava8Java21.java
Outdated
Show resolved
Hide resolved
src/test/java/net/snowflake/client/RunningNotOnJava8Java21.java
Outdated
Show resolved
Hide resolved
sfc-gh-akolodziejczyk
force-pushed
the
SNOW-920999
branch
8 times, most recently
from
July 18, 2024 16:12
538ca4d
to
65748fd
Compare
sfc-gh-akolodziejczyk
force-pushed
the
SNOW-920999
branch
from
July 19, 2024 07:47
65748fd
to
eafcc69
Compare
sfc-gh-pfus
reviewed
Jul 22, 2024
src/test/java/net/snowflake/client/RunningNotOnGithubActionsMac.java
Outdated
Show resolved
Hide resolved
sfc-gh-pfus
approved these changes
Jul 22, 2024
sfc-gh-dprzybysz
approved these changes
Jul 25, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
SNOW-920999
Wiremock proxy tests are currently executed for java 11 & java 17. Wiremock no longer support java 8 and for java 21 generating needed certificates by wiremock is not supported yet. As Wiremock is run using standalone jar we can launch it for java 8 and 21 tests if we will install i.e. jre-11 on runners/images. (to discuss if we want to do it)
Due to stopped support for java 8 wiremock-standalone needs to be used, as wiremock java library will not compile for java8.
When connecting to Snowflake by https, https proxy is used, for local Snowflake environment http proxy is used.
Pre-review self checklist
master
branchmvn -P check-style validate
)mvn verify
and inspecttarget/japicmp/japicmp.html
)SNOW-XXXX:
External contributors - please answer these questions before submitting a pull request. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #NNNN
Fill out the following pre-review checklist:
@SnowflakeJdbcInternalApi
(note that public/protected methods/fields in classes marked with this annotation are already internal)Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.