Browse Source

Less strict threshold for timing dependent test

- Add case missed in 5af46787893a918d6589f4ee1e7f6a76d28574b4
Rod Hynes 2 years ago
parent
commit
e1b2fdc660
1 changed files with 1 additions and 1 deletions
  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")
 			}
 		})