Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
  • Loading branch information
hughesjj committed Mar 21, 2024
1 parent a1e2507 commit b3d893b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -231,7 +231,7 @@ func assertNetworkConnectionsMetricValid(t *testing.T, metric pmetric.Metric) {
internal.AssertSumMetricHasAttributeValue(t, metric, 0, "protocol",
pcommon.NewValueStr(metadata.AttributeProtocolTcp.String()))
internal.AssertSumMetricHasAttribute(t, metric, 0, "state")
// Flaky test gives 12 or 13, so bound it
// Flaky test gives 12 or 13, so bound it
assert.LessOrEqual(t, 12, metric.Sum().DataPoints().Len())
assert.GreaterOrEqual(t, 13, metric.Sum().DataPoints().Len())
}

0 comments on commit b3d893b

Please sign in to comment.