-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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(core): fix flaky durable providers #11666
Conversation
// How to test this? | ||
// const constructorStub = sinon.stub(DurableService, 'constructor').throws(new Error('test error')); |
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.
@micalevisk any suggestions on how to use sinon to stub the constructor to throw an error for very first request?
I cannot find any references to that and I don't know if there is a clean way to do that. Any suggestions?
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.
I don't know either :/ I will try to find something later
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.
can you please remove the yarn.lock
0ff682d
to
3d409e4
Compare
3d409e4
to
d5e95a9
Compare
i'll try to get back to this over the weekend and close it off |
@KamalAman @kamilmysliwiec what was the reason why this PR was never accepted ? i reopened an issue on the matter: #13953 |
@dberardo-com yeah this is an annoying bug. I never figured out how to test it. Anyone who wants to pick it up, please feel free to take this over. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #11664
What is the new behavior?
Does this PR introduce a breaking change?
Other information