Przeglądaj źródła

Less strict threshold for timing dependent test

- Add case missed in 5af46787893a918d6589f4ee1e7f6a76d28574b4
Rod Hynes 2 lat temu
rodzic
commit
e1b2fdc660
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 			}
 
-			if timeDiff.Microseconds() > 100 {
+			if timeDiff.Microseconds() > 500 {
 				t.Fatalf("unexpected elapsed time difference")
 			}
 		})