Skip to content

Commit

Permalink
test: update initial stash size (DEV-3153) (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nora-Olivia-Ammann committed Jan 4, 2024
1 parent 930df8f commit 43a8217
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/benchmarking/test_stash_circular_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ def test_get_length_ok_resources() -> None:
len_standoff = len(stash.standoff_stash.res_2_stash_items) # type: ignore[union-attr]
len_resptr = len(stash.link_value_stash.res_2_stash_items) # type: ignore[union-attr]
stashed_links = len_standoff + len_resptr
previous_stash_size = 14
print_str = (
f"\n\n---------------------\n"
f"Total Resources: 63\n"
f"Previous Stash Size: 32\n"
f"Previous Stash Size: {previous_stash_size}\n"
f"Current Stash Size: {stashed_links}"
f"\n---------------------\n"
)
cprint(text=print_str, color="yellow", attrs=["bold"])
assert stashed_links <= 32
assert stashed_links <= previous_stash_size


if __name__ == "__main__":
Expand Down

0 comments on commit 43a8217

Please sign in to comment.