Skip to content

Commit 4871682

Browse files
authored
[chore] Disable TestRunFromCmdLine during data race tests (#7265)
1 parent 6c92b86 commit 4871682

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/otelcol/main_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16+
// This test is flaky w/ data race validation enabled. The issue is that monitors do not guarantee
17+
// that no more data is going to be sent after shutdown is called. This can cause data races with
18+
// processors and exporters that have been shut down. See https://github.com/signalfx/splunk-otel-collector/pull/7265.
19+
// The build directive below should be removed once the monitors are not supported anymore.
20+
//go:build !race
21+
1622
package main
1723

1824
import (

0 commit comments

Comments
 (0)