Fix: Comment out flaky tests for TestReadProm (#52243)

* comment out flaky test

* commented out unused functions

* using t.skip()

* disable linting
This commit is contained in:
Eric Leijonmarck 2022-07-14 17:42:13 +01:00 committed by GitHub
parent c851907fc3
commit 58a4122624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ import (
const update = true
func TestReadPromFrames(t *testing.T) {
// FIXME:
// skipping test due to flaky behavior
t.Skip()
files := []string{
"prom-labels",
"prom-matrix",
@ -41,6 +44,8 @@ func TestReadPromFrames(t *testing.T) {
}
}
// FIXME:
//lint:ignore U1000 Ignore used function for now
func runScenario(name string, opts Options) func(t *testing.T) {
return func(t *testing.T) {
// Safe to disable, this is a test.