mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
lib/api: Slightly unflake TestCSRFRequired by allowing longer timeout
This commit is contained in:
parent
6755a9ca63
commit
6be6de4b4a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user