Fix broken httpd_test.

PiperOrigin-RevId: 324822613
This commit is contained in:
Bhasker Hariharan
2020-08-04 09:07:09 -07:00
committed by gVisor bot
parent 7142a86a2c
commit 1bdadbc4f8
+2 -2
View File
@@ -68,13 +68,13 @@ func BenchmarkHttpdConcurrency(b *testing.B) {
// BenchmarkHttpdDocSize iterates over different sized payloads, testing how
// well the runtime handles sending different payload sizes.
func BenchmarkHttpdDocSize(b *testing.B) {
benchmarkHttpDocSize(b, false /* reverse */)
benchmarkHttpdDocSize(b, false /* reverse */)
}
// BenchmarkReverseHttpdDocSize iterates over different sized payloads, testing
// how well the runtime handles receiving different payload sizes.
func BenchmarkReverseHttpdDocSize(b *testing.B) {
benchmarkHttpDocSize(b, true /* reverse */)
benchmarkHttpdDocSize(b, true /* reverse */)
}
func benchmarkHttpdDocSize(b *testing.B, reverse bool) {