chore: disable failing metrics check until it can be fixed (#11361)

This commit is contained in:
Spike Curtis
2024-01-02 05:39:48 +00:00
committed by GitHub
parent f28f340c7b
commit 65290997c1
+6 -2
View File
@@ -139,7 +139,9 @@ func TestRun(t *testing.T) {
t.Logf("bytes written total: %.0f\n", writeMetrics.Total())
// We want to ensure the metrics are somewhat accurate.
assert.InDelta(t, bytesPerTick, writeMetrics.Total(), 0.1)
// TODO: https://github.com/coder/coder/issues/11175
// assert.InDelta(t, bytesPerTick, writeMetrics.Total(), 0.1)
// Read is highly variable, depending on how far we read before stopping.
// Just ensure it's not zero.
assert.NotZero(t, readMetrics.Total())
@@ -259,7 +261,9 @@ func TestRun(t *testing.T) {
t.Logf("bytes written total: %.0f\n", writeMetrics.Total())
// We want to ensure the metrics are somewhat accurate.
assert.InDelta(t, bytesPerTick, writeMetrics.Total(), 0.1)
// TODO: https://github.com/coder/coder/issues/11175
// assert.InDelta(t, bytesPerTick, writeMetrics.Total(), 0.1)
// Read is highly variable, depending on how far we read before stopping.
// Just ensure it's not zero.
assert.NotZero(t, readMetrics.Total())