mirror of
https://github.com/aykhans/sarin.git
synced 2026-02-28 06:49:13 +00:00
14 lines
288 B
Go
14 lines
288 B
Go
package e2e
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestValidation_ConcurrencyExceedsMax(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
res := run("-U", "http://example.com", "-r", "1", "-q", "-c", "200000000")
|
|
assertExitCode(t, res, 1)
|
|
assertContains(t, res.Stderr, "concurrency must not exceed 100,000,000")
|
|
}
|