Skip to content

Commit

Permalink
Fix ExecutionMutableStateSuite (#7026)
Browse files Browse the repository at this point in the history
## What changed?
<!-- Describe what has changed in this PR -->
- Fix how branchToken is created and used in ExecutionMutableStateSuite
- More assertions
- Some variable rename

## Why?
<!-- Tell your future self why have you made these changes -->
- The test was using the same branch token for multiple different runs
and worked in a weird way (new record happens to overwrite old record in
DB).

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
  • Loading branch information
yycptt authored Jan 6, 2025
1 parent 2d8afd4 commit 8437baa
Showing 1 changed file with 136 additions and 92 deletions.
Loading

0 comments on commit 8437baa

Please sign in to comment.