Skip to content

Commit

Permalink
Merge pull request #4 from cxdy/feat/kafkareceiver-fetch-configurable
Browse files Browse the repository at this point in the history
fix: tests using wrong int type
  • Loading branch information
cxdy authored Aug 26, 2024
2 parents 3553b1d + 30cec72 commit 6edf5fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions receiver/kafkareceiver/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ func TestCreateDefaultConfig(t *testing.T) {
assert.Equal(t, defaultInitialOffset, cfg.InitialOffset)
assert.Equal(t, defaultSessionTimeout, cfg.SessionTimeout)
assert.Equal(t, defaultHeartbeatInterval, cfg.HeartbeatInterval)
assert.Equal(t, defaultMinFetchSize, cfg.MinFetchSize)
assert.Equal(t, defaultDefaultFetchSize, cfg.DefaultFetchSize)
assert.Equal(t, defaultMaxFetchSize, cfg.MaxFetchSize)
assert.Equal(t, int32(defaultMinFetchSize), int32(cfg.MinFetchSize))
assert.Equal(t, int32(defaultDefaultFetchSize), int32(cfg.DefaultFetchSize))
assert.Equal(t, int32(defaultMaxFetchSize), int32(cfg.MaxFetchSize))
}

func TestCreateTracesReceiver(t *testing.T) {
Expand Down

0 comments on commit 6edf5fa

Please sign in to comment.