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

Calling fake function many times resulted in StackOverflowError #5

Open
lightZebra opened this issue Mar 18, 2022 · 0 comments
Open

Comments

@lightZebra
Copy link

lightZebra commented Mar 18, 2022

Hi there,

I've noticed an issue with faked function after calling it ~10000 times.
Here code to reproduce an issue

(f/with-fakes
  (let [foo (f/fake [[1] 3])]
    (dotimes [_ 10000]
      (foo 1))))

Seems like error appeared inside self-test-unused-fakes function because of too many remove wrappers from -mark-used

Would you like to see an MR with fix?

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

No branches or pull requests

1 participant