diff --git a/receiver/opencensusreceiver/config_test.go b/receiver/opencensusreceiver/config_test.go index 9e69682a3ed..60ffa30c6fa 100644 --- a/receiver/opencensusreceiver/config_test.go +++ b/receiver/opencensusreceiver/config_test.go @@ -59,7 +59,6 @@ func TestLoadConfig(t *testing.T) { TypeVal: typeStr, NameVal: "opencensus/keepalive", Endpoint: "127.0.0.1:55678", - Enabled: true, }, Keepalive: &serverParametersAndEnforcementPolicy{ ServerParameters: &keepaliveServerParameters{ @@ -80,7 +79,6 @@ func TestLoadConfig(t *testing.T) { TypeVal: typeStr, NameVal: "opencensus/nobackpressure", Endpoint: "127.0.0.1:55678", - Enabled: true, DisableBackPressure: true, }, MaxRecvMsgSizeMiB: 32, diff --git a/receiver/opencensusreceiver/factory_test.go b/receiver/opencensusreceiver/factory_test.go index 6bd7f3d725c..037f15cd73b 100644 --- a/receiver/opencensusreceiver/factory_test.go +++ b/receiver/opencensusreceiver/factory_test.go @@ -57,7 +57,6 @@ func TestCreateTraceReceiver(t *testing.T) { TypeVal: typeStr, NameVal: typeStr, Endpoint: endpoint, - Enabled: true, } tests := []struct { name string @@ -77,7 +76,6 @@ func TestCreateTraceReceiver(t *testing.T) { TypeVal: typeStr, NameVal: typeStr, Endpoint: "127.0.0.1:112233", - Enabled: true, }, }, wantErr: true, @@ -120,7 +118,6 @@ func TestCreateMetricReceiver(t *testing.T) { TypeVal: typeStr, NameVal: typeStr, Endpoint: endpoint, - Enabled: true, } tests := []struct { name string @@ -140,7 +137,6 @@ func TestCreateMetricReceiver(t *testing.T) { TypeVal: typeStr, NameVal: typeStr, Endpoint: "327.0.0.1:1122", - Enabled: true, }, }, wantErr: true,