Browse Source

Workaround for TestUntunneledResumableFetchRemoteServerList

- Remote server lists are now significantly smaller due to
  an encoding change. Disrupt downloads sooner to ensure
  at least one resume occurs, as is necessary to satisfy
  the test constraints.
Rod Hynes 5 years ago
parent
commit
710ddd4226
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/controller_test.go

+ 1 - 1
psiphon/controller_test.go

@@ -1029,7 +1029,7 @@ func fetchAndVerifyWebsite(t *testing.T, httpProxyPort int) error {
 
 const disruptorProxyAddress = "127.0.0.1:2160"
 const disruptorProxyURL = "socks4a://" + disruptorProxyAddress
-const disruptorMaxConnectionBytes = 250000
+const disruptorMaxConnectionBytes = 150000
 const disruptorMaxConnectionTime = 10 * time.Second
 
 func initDisruptor() {