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

com.kaspersky.kaspresso.flakysafety.scalpel.ScalpelSwitcher work incorrect with nested flakySafely #648

Open
VladislavSumin opened this issue Jun 3, 2024 · 0 comments · May be fixed by #671
Labels
bug Something isn't working

Comments

@VladislavSumin
Copy link
Collaborator

В тестах часто по ошибке пишут конструкции вида:

flakySafely {
    <...>
   flakySafely { <...> }
}

в таком случае ломается internal логика ScalpelSwitcher и интерсепторы восстанавливаются раньше чем должны.
Кажется стоит добавить счетчик входов в ScalpelSwitcher, так как несмотря на ошибки разработчиков фреймворк должен либо явно крашится, либо работать корректно

@VladislavSumin VladislavSumin added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant