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

[STRATCONN-3725] - Fixes request-client tests by upgrading dependency #2004

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

varadarajan-tw
Copy link
Contributor

@varadarajan-tw varadarajan-tw commented Apr 22, 2024

create-request-client tests and request-client tests were failing on Mac machines because the pinned version pem module doesn't support open ssl 3 and all our mac machines are using openssl3.

More details on the investigation here.

The solution is to bump pem, an indirect dependency through create-request-client dependency from 1.14.4 to 1.14.8 (ref). This dependency is only used in tests and not in production package.

image

Testing

** Before **

image image

After

image
  • Added unit tests for new functionality
  • Tested end-to-end using the local server
  • [Segmenters] Tested in the staging environment

@@ -17081,7 +17097,7 @@ workerpool@6.2.1:
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343"
integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There were no dependencies removed. wrap-ansi@^7.0.0 just re-arranged and moved to a separate line below

@@ -15516,7 +15525,7 @@ stringify-object@^3.3.0:
is-obj "^1.0.1"
is-regexp "^1.0.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no dependencies removed. strip-ansi@^6.0.1 just re-arranged and moved to a separate line below

@@ -15458,7 +15458,16 @@ string-length@^4.0.1:
char-regex "^1.0.2"
strip-ansi "^6.0.0"

"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3:" was just re-arranged and moved to a separate line.

@joe-ayoub-segment
Copy link
Contributor

confirmed that yarn test completed correctly.

@varadarajan-tw varadarajan-tw merged commit fec55bd into main Apr 22, 2024
11 checks passed
@varadarajan-tw varadarajan-tw deleted the fix-request-client-tests branch April 22, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants