Skip to content

Commit

Permalink
codecov:1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Jan 8, 2024
1 parent 5db5e85 commit bb0c21f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,18 @@ import (
)

func Test_Initialize(t *testing.T) {
t.SkipNow()
eventhub.InitEventHub()
ctrl := gomock.NewController(t)
mockStore := mockstore.NewMockStore(ctrl)
cacheMgr := mockcache.NewMockCacheManager(ctrl)

t.Cleanup(func() {
ctrl.Finish()
eventhub.Shutdown()
originServer.watchCenter.Close()
originServer.initialized = false
originServer = nil
server = nil
})

cacheMgr.EXPECT().OpenResourceCache(gomock.Any()).Return(nil).AnyTimes()
Expand Down

0 comments on commit bb0c21f

Please sign in to comment.