Skip to content

Commit

Permalink
fix the ut
Browse files Browse the repository at this point in the history
Signed-off-by: myan <[email protected]>
  • Loading branch information
yanmxa committed Aug 21, 2024
1 parent 2f2bd54 commit 4c6bc28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/transport/assembler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ func TestAssembler(t *testing.T) {
},
}

transportConfig.IsManager = true
genericProducer, err := producer.NewGenericProducer(transportConfig)
assert.Nil(t, err)
genericProducer.SetDataLimit(5)

transportConfig.IsManager = false
genericConsumer, err := consumer.NewGenericConsumer(transportConfig)
assert.Nil(t, err)
go func() {
Expand Down

0 comments on commit 4c6bc28

Please sign in to comment.