-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests that cover recursion with self re-entrance. (#1459)
### What Add tests that cover recursion with self re-entrance. This is kind of an esoteric/edge case scenario, so I'm covering it in the 'hostile' test suite combined with exercising the deep call stacks. ### Why Improving test coverage. ### Known limitations N/A
- Loading branch information
Showing
11 changed files
with
27,265 additions
and
9,362 deletions.
There are no files selected for viewing
2,994 changes: 1,497 additions & 1,497 deletions
2,994
...s/22/test__hostile_opt__test_deep_stack_call_fails_when_contract_call_depth_exceeded.json
Large diffs are not rendered by default.
Oops, something went wrong.
434 changes: 217 additions & 217 deletions
434
...s/22/test__hostile_opt__test_deep_stack_call_fails_when_serialization_depth_exceeded.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,972 changes: 1,486 additions & 1,486 deletions
2,972
...tions/22/test__hostile_opt__test_deep_stack_call_fails_with_deep_xdr_deserialization.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,972 changes: 1,486 additions & 1,486 deletions
2,972
...s/22/test__hostile_opt__test_deep_stack_call_fails_with_too_deep_xdr_deserialization.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,972 changes: 1,486 additions & 1,486 deletions
2,972
...tile_opt__test_deep_stack_call_fails_xdr_deserialization_exceeding_host_object_depth.json
Large diffs are not rendered by default.
Oops, something went wrong.
3,374 changes: 1,687 additions & 1,687 deletions
3,374
...env-host/observations/22/test__hostile_opt__test_deep_stack_call_succeeds_near_limit.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,976 changes: 1,488 additions & 1,488 deletions
2,976
...test__hostile_opt__test_deep_stack_call_succeeds_near_limit_with_xdr_deserialization.json
Large diffs are not rendered by default.
Oops, something went wrong.
16,100 changes: 16,100 additions & 0 deletions
16,100
..._opt__test_deep_stack_call_with_self_reentry_fails_when_contract_call_depth_exceeded.json
Large diffs are not rendered by default.
Oops, something went wrong.
858 changes: 858 additions & 0 deletions
858
..._test_deep_stack_call_with_self_reentry_succeeds_near_limit_with_xdr_deserialization.json
Large diffs are not rendered by default.
Oops, something went wrong.
864 changes: 864 additions & 0 deletions
864
...ons/22/test__hostile_opt__test_deep_stack_with_self_reentry_call_succeeds_near_limit.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters