inlet/flow: restrict rate-limit test to Linux

It often fails on MacOS on GitHub
This commit is contained in:
Vincent Bernat
2022-10-24 23:56:00 +02:00
parent 64ba6112b6
commit 2f39a34263

View File

@@ -71,7 +71,7 @@ func TestFlow(t *testing.T) {
}
// With rate limiting
{
if runtime.GOOS == "Linux" {
r := reporter.NewMock(t)
config := DefaultConfiguration()
config.RateLimit = 1000