github.com/mier85/go-sensor@v1.30.1-0.20220920111756-9bf41b3bc7e0/options_test.go (about) 1 // (c) Copyright IBM Corp. 2021 2 // (c) Copyright Instana Inc. 2020 3 4 package instana_test 5 6 import ( 7 "testing" 8 9 "github.com/instana/testify/assert" 10 instana "github.com/mier85/go-sensor" 11 ) 12 13 func TestDefaultOptions(t *testing.T) { 14 assert.Equal(t, &instana.Options{ 15 AgentHost: "localhost", 16 AgentPort: 42699, 17 MaxBufferedSpans: instana.DefaultMaxBufferedSpans, 18 ForceTransmissionStartingAt: instana.DefaultForceSpanSendAt, 19 Tracer: instana.DefaultTracerOptions(), 20 }, instana.DefaultOptions()) 21 }