Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed Feb 11, 2025
1 parent 10e997a commit 3fd689f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/numaflow-core/src/watermark/idle/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ mod tests {

// Update and fetch idle watermark with computed_wm = -1
let idle_wm = manager.update_and_fetch_idle_wm(-1);
assert!(idle_wm > 0);
assert_eq!(idle_wm, -1);

// Update and fetch idle watermark with a valid computed_wm
let idle_wm = manager.update_and_fetch_idle_wm(1000);
Expand Down

0 comments on commit 3fd689f

Please sign in to comment.