Skip to content

Commit

Permalink
fix: ut
Browse files Browse the repository at this point in the history
Signed-off-by: James Yin <[email protected]>
  • Loading branch information
ifplusor committed Mar 7, 2023
1 parent e503662 commit a960c0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/controller/eventbus/eventlog/eventlog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ func TestEventlogManager_ScaleSegmentTask(t *testing.T) {
So(util.MapLen(&utMgr.globalBlockMap), ShouldEqual, defaultAppendableSegmentNumber*3*2)

head := el.head()
el.lock()
head.State = StateFrozen
el.unlock()
t.Log(head.ID.Key())
So(el.appendableSegmentNumber(), ShouldEqual, defaultAppendableSegmentNumber-1)
So(util.MapLen(&utMgr.eventlogMap), ShouldEqual, 2)
Expand Down

0 comments on commit a960c0f

Please sign in to comment.