fix: [skip e2e] wab unittest may failure (#40470)

issue: #38399

Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
Zhen Ye 2025-03-11 11:34:06 +08:00 committed by GitHub
parent 3899b0f0d4
commit d9fe8f0dcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ func TestWriteAheadBufferWithOnlyTrivialTimeTick(t *testing.T) {
nextTimeTick := uint64(100)
for {
nextTimeTick += uint64(rand.Int31n(1000))
nextTimeTick += uint64(rand.Int31n(1000) + 1)
wb.Append(nil, createTimeTickMessage(nextTimeTick))
if nextTimeTick > expectedLastTimeTick {
break