diff --git a/pkg/cassandra/gocql/testutils/.nocover b/pkg/cassandra/gocql/testutils/.nocover deleted file mode 100644 index 9d6cf4b7fb6..00000000000 --- a/pkg/cassandra/gocql/testutils/.nocover +++ /dev/null @@ -1 +0,0 @@ -FIXME diff --git a/pkg/cassandra/gocql/testutils/empty_test.go b/pkg/cassandra/gocql/testutils/empty_test.go new file mode 100644 index 00000000000..4b0a8bf70ec --- /dev/null +++ b/pkg/cassandra/gocql/testutils/empty_test.go @@ -0,0 +1,30 @@ +// Copyright (c) 2024 The Jaeger Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package testutils + +import ( + "testing" + + "github.com/jaegertracing/jaeger/pkg/testutils" +) + +func TestDummy(t *testing.T) { + // This is a dummy test in the root package. + // Without it `go test -v .` prints "testing: warning: no tests to run". +} + +func TestMain(m *testing.M) { + testutils.VerifyGoLeaks(m) +}