Skip to content

Commit

Permalink
Added back test for checking non-null provider
Browse files Browse the repository at this point in the history
Signed-off-by: adityachopra29 <[email protected]>
  • Loading branch information
adityachopra29 committed Dec 30, 2024
1 parent d5ad386 commit c6afbc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/jaeger/internal/extension/remotesampling/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ func Test_Validate(t *testing.T) {
config *Config
expectedErr string
}{
{
name: "No provider specified",
config: &Config{},
expectedErr: "no sampling strategy provider specified, expecting 'adaptive' or 'file'",
},
{
name: "Both providers specified",
config: &Config{
Expand Down

0 comments on commit c6afbc0

Please sign in to comment.