Commit 80377f72 authored by Andreas Bigger's avatar Andreas Bigger

exceeds max ?

parent d1718ac2
......@@ -34,5 +34,6 @@ func TestInputThreshold(t *testing.T) {
// The input threshold will overflow to the max uint64 value
receivedThreshold := config.InputThreshold()
require.Equal(t, uint64(0xffffffffffffffff), receivedThreshold)
max := config.TargetNumFrames * int(config.TargetFrameSize)
require.True(t, receivedThreshold > uint64(max))
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment