Skip to content

Commit 23f0301

Browse files
[metricbeat] [sql] query_integration_test.go: add !requirefips (#47293)
1 parent 9da0f31 commit 23f0301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/metricbeat/module/sql/query/query_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// or more contributor license agreements. Licensed under the Elastic License;
33
// you may not use this file except in compliance with the Elastic License.
44

5-
//go:build integration
5+
//go:build integration && !requirefips
66

77
package query
88

@@ -301,7 +301,7 @@ func assertFieldContainsFloat64(field string, limit float64) func(t *testing.T,
301301
return func(t *testing.T, event beat.Event) {
302302
value, err := event.GetValue("sql.metrics.hit_ratio")
303303
assert.NoError(t, err)
304-
require.GreaterOrEqual(t, value.(float64), limit)
304+
require.GreaterOrEqual(t, value.(float64), limit) //nolint:errcheck // ignore
305305
}
306306
}
307307

0 commit comments

Comments
 (0)