Просмотр исходного кода

Less strict threshold for timing dependent test

- Add case missed in 5af46787893a918d6589f4ee1e7f6a76d28574b4
Rod Hynes 2 лет назад
Родитель
Сommit
e1b2fdc660
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      psiphon/common/obfuscator/passthrough_test.go

+ 1 - 1
psiphon/common/obfuscator/passthrough_test.go

@@ -123,7 +123,7 @@ func TestTLSPassthrough(t *testing.T) {
 				timeDiff = -timeDiff
 				timeDiff = -timeDiff
 			}
 			}
 
 
-			if timeDiff.Microseconds() > 100 {
+			if timeDiff.Microseconds() > 500 {
 				t.Fatalf("unexpected elapsed time difference")
 				t.Fatalf("unexpected elapsed time difference")
 			}
 			}
 		})
 		})