浏览代码

lib/api: Slightly unflake TestCSRFRequired by allowing longer timeout

Jakob Borg 6 年之前
父节点
当前提交
6be6de4b4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/api/api_test.go

+ 1 - 1
lib/api/api_test.go

@@ -566,7 +566,7 @@ func TestCSRFRequired(t *testing.T) {
 	}
 
 	cli := &http.Client{
-		Timeout: time.Second,
+		Timeout: time.Minute,
 	}
 
 	// Getting the base URL (i.e. "/") should succeed.