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

SNOW-921006 Introduce wiremock #1300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sfc-gh-pfus
Copy link
Collaborator

Description

SNOW-921006 Introduce wiremock

Checklist

  • Created tests which fail without the change (if possible)
  • Extended the README / documentation, if necessary

@sfc-gh-pfus sfc-gh-pfus force-pushed the SNOW-921006-wiremock branch 2 times, most recently from f17ab6d to 575b51d Compare February 6, 2025 08:25
@sfc-gh-pfus sfc-gh-pfus marked this pull request as ready for review February 6, 2025 09:12
@sfc-gh-pfus sfc-gh-pfus requested a review from a team as a code owner February 6, 2025 09:12
@@ -26,8 +26,6 @@ concurrency:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we remove this line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, you are right. I misunderstood this section. Good catch!

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.19%. Comparing base (5b705f4) to head (a510b4e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1300      +/-   ##
==========================================
+ Coverage   82.16%   82.19%   +0.02%     
==========================================
  Files          55       55              
  Lines       13634    13634              
==========================================
+ Hits        11203    11206       +3     
+ Misses       2431     2428       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name of this file suggests that we are testing wiremock, but I assume that this is a base utility class for tests that use wiremock, right?

func newWiremock() *wiremockClient {
return &wiremockClient{
host: "127.0.0.1",
port: 14355,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps it would be better to pass this as an ENV VAR in test scripsts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants