-
Notifications
You must be signed in to change notification settings - Fork 57
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: wrong token for cache #1769
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You have to update a function as I deprecated one.
Please update the change log.
As a test driven fix, maybe you can share, without the fix, which tests failed?
packages/core/src/connectivity/scp-cf/destination/destination-cache.spec.ts
Outdated
Show resolved
Hide resolved
@@ -570,10 +570,6 @@ class DestinationFromServiceRetriever { | |||
return false; | |||
} | |||
|
|||
if (this.isProviderAndSubscriberSameTenant()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐛 !
packages/core/src/connectivity/scp-cf/destination/destination-cache.spec.ts
Show resolved
Hide resolved
# Conflicts: # packages/core/src/connectivity/scp-cf/destination/destination-cache.spec.ts
Please provide a description of what your change does and why it is needed.
Closes SAP/cloud-sdk-backlog#437.
Under some condition the wrong token was used to build the cache. The removed tests were misleading because the passed token from the user can be from the subscriber or provider account.