Skip to content

Commit

Permalink
Fixed the assertion failure caused by network lag.
Browse files Browse the repository at this point in the history
  • Loading branch information
xianrenzw committed Jan 29, 2025
1 parent 67600d4 commit edc919d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void testInterceptWithUpdateCommand() throws Throwable {

// Assert update fields are set
assertEquals(1L, entity.getUpdateBy());
assertTrue(now.getTime() < entity.getUpdateTime().getTime());
assertTrue(now.getTime() <= entity.getUpdateTime().getTime());
}

@Test
Expand Down

0 comments on commit edc919d

Please sign in to comment.