Переглянути джерело

lib/protocol: Disable broken KCP benchmark

Jakob Borg 7 роки тому
батько
коміт
5d0eb80204
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      lib/protocol/benchmark_test.go

+ 4 - 0
lib/protocol/benchmark_test.go

@@ -30,6 +30,8 @@ func BenchmarkRequestsRawTCP(b *testing.B) {
 }
 
 func BenchmarkRequestsRawKCP(b *testing.B) {
+	b.Skip("KCP broken")
+
 	// Benchmarks the rate at which we can serve requests over a single,
 	// unencrypted KCP channel over the loopback interface.
 
@@ -57,6 +59,8 @@ func BenchmarkRequestsTLSoTCP(b *testing.B) {
 }
 
 func BenchmarkRequestsTLSoKCP(b *testing.B) {
+	b.Skip("KCP broken")
+
 	conn0, conn1, err := getKCPConnectionPair()
 	if err != nil {
 		b.Fatal(err)