Commit 13720720 authored by bytetigers's avatar bytetigers Committed by GitHub

refactor: fix redundant logic (#11584)

Signed-off-by: default avatarbytetigers <bytetiger@icloud.com>
parent e9bc4efb
...@@ -434,11 +434,7 @@ func TestChannelBuilder_OutputFrames(t *testing.T) { ...@@ -434,11 +434,7 @@ func TestChannelBuilder_OutputFrames(t *testing.T) {
func TestChannelBuilder_OutputFrames_SpanBatch(t *testing.T) { func TestChannelBuilder_OutputFrames_SpanBatch(t *testing.T) {
for _, algo := range derive.CompressionAlgos { for _, algo := range derive.CompressionAlgos {
t.Run("ChannelBuilder_OutputFrames_SpanBatch_"+algo.String(), func(t *testing.T) { t.Run("ChannelBuilder_OutputFrames_SpanBatch_"+algo.String(), func(t *testing.T) {
if algo.IsBrotli() { ChannelBuilder_OutputFrames_SpanBatch(t, algo) // to fill faster for brotli
ChannelBuilder_OutputFrames_SpanBatch(t, algo) // to fill faster for brotli
} else {
ChannelBuilder_OutputFrames_SpanBatch(t, algo)
}
}) })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment