Skip to content

Commit

Permalink
fix merger
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy-fdu committed Mar 7, 2024
1 parent e271f7a commit 2d0a335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified risingwave-test/hummock_001/checkpoint/0
Binary file not shown.
4 changes: 2 additions & 2 deletions src/stream/src/executor/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ mod tests {
let handle = tokio::spawn(async move {
for epoch in epochs {
if epoch % 20 == 0 {
tx.send(Message::Chunk(build_test_chunk(test_epoch(epoch))))
tx.send(Message::Chunk(build_test_chunk(epoch)))
.await
.unwrap();
} else {
Expand Down Expand Up @@ -506,7 +506,7 @@ mod tests {
if epoch % 20 == 0 {
for _ in 0..CHANNEL_NUMBER {
assert_matches!(merger.next().await.unwrap().unwrap(), Message::Chunk(chunk) => {
assert_eq!(chunk.ops().len() as u64, test_epoch(epoch));
assert_eq!(chunk.ops().len() as u64, epoch);
});
}
} else if epoch as usize / 20 >= CHANNEL_NUMBER - 1 {
Expand Down

0 comments on commit 2d0a335

Please sign in to comment.