Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeW committed Dec 4, 2024
1 parent 6470ce7 commit 5f41c54
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/stream/src/executor/source/source_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1229,10 +1229,7 @@ mod tests {
)
.await;
// there must exist state for new add partition
source_state_handler
.init_epoch(EpochPair::new_test_epoch(test_epoch(2)))
.await
.unwrap();
source_state_handler.init_epoch(EpochPair::new_test_epoch(test_epoch(2)));
source_state_handler
.get(new_assignment[1].id())
.await
Expand Down Expand Up @@ -1271,10 +1268,7 @@ mod tests {
)
.await;

source_state_handler
.init_epoch(EpochPair::new_test_epoch(5 * test_epoch(1)))
.await
.unwrap();
source_state_handler.init_epoch(EpochPair::new_test_epoch(5 * test_epoch(1)));

assert!(source_state_handler
.try_recover_from_state_store(&prev_assignment[0])
Expand Down

0 comments on commit 5f41c54

Please sign in to comment.