I am using the testify package for the unit testing in golang. My code contains mocking. while running the test it is getting passed for sometimes and showing error The code you are testing needs to make 1 more call(s)
for sometimes, I am unable to figure out the reason why is this happening:
I went through this https://github.com/stretchr/testify/issues/31 but did get what is the problem and how it can be solved?