From 865d9e1835729d2c43ab4a82bc5ae7af502908fe Mon Sep 17 00:00:00 2001 From: Karen Chen Date: Tue, 20 Aug 2024 11:36:21 -0400 Subject: [PATCH] revert ut --- v2/sender_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/v2/sender_test.go b/v2/sender_test.go index d3eac6d..38e8c91 100644 --- a/v2/sender_test.go +++ b/v2/sender_test.go @@ -22,17 +22,6 @@ func TestFunc_NewSender(t *testing.T) { if sender.options.Marshaller != marshaller { t.Errorf("failed to set marshaller, expected: %s, actual: %s", reflect.TypeOf(marshaller), reflect.TypeOf(sender.options.Marshaller)) } - - sender = NewSender(nil, &SenderOptions{EnableTracingPropagation: true}) - if sender.options.Marshaller == nil { - t.Errorf("failed to set marshaller") - } - if !sender.options.EnableTracingPropagation { - t.Errorf("failed to set EnableTracingPropagation, expected: true, actual: %t", sender.options.EnableTracingPropagation) - } - if sender.options.SendTimeout != defaultSendTimeout { - t.Errorf("failed to set SendTimeout, expected: %s, actual: %s", defaultSendTimeout, sender.options.SendTimeout) - } } func TestHandlers_SetMessageId(t *testing.T) {