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

Fix token-request in retry strategy. #685

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

sfc-gh-pmotacki
Copy link
Collaborator

Description

Please explain the changes you made here.

Checklist

  • Format code according to the existing code style (run npm run lint:check -- CHANGED_FILES and fix problems in changed code)
  • Create tests which fail without the change (if possible)
  • Make all tests (unit and integration) pass (npm run test:unit and npm run test:integration)
  • Extend the README / documentation and ensure is properly displayed (if necessary)
  • Provide JIRA issue id (if possible) or GitHub issue id in commit message

@sfc-gh-pmotacki sfc-gh-pmotacki requested a review from a team as a code owner November 2, 2023 11:05
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #685 (b6b9632) into master (8bfb622) will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #685      +/-   ##
==========================================
+ Coverage   87.57%   87.75%   +0.17%     
==========================================
  Files          60       60              
  Lines        5628     5628              
==========================================
+ Hits         4929     4939      +10     
+ Misses        699      689      -10     
Files Coverage Δ
lib/services/sf.js 86.49% <ø> (ø)
lib/util.js 97.61% <100.00%> (ø)

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

'oldSessionToken': this.tokenInfo.getSessionToken()
'oldSessionToken': this.tokenInfo.getSessionToken(),
data: {
CLIENT_APP_ID: this.connectionConfig.getClientType(),
Copy link
Collaborator

@sfc-gh-dstempniak sfc-gh-dstempniak Nov 2, 2023

Choose a reason for hiding this comment

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

Maybe you wanted to add in the request header?

@sfc-gh-pmotacki sfc-gh-pmotacki merged commit 6cc2fda into master Nov 2, 2023
44 checks passed
@sfc-gh-pmotacki sfc-gh-pmotacki deleted the retry-strategy-fix branch November 2, 2023 15:39
@github-actions github-actions bot locked and limited conversation to collaborators Nov 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants