]> git.maquefel.me Git - brevno-suite/hugo/commit
server: Fix flaky TestServerPathEncodingIssues tests
authorAnthony Fok <foka@debian.org>
Tue, 4 Oct 2022 09:43:05 +0000 (03:43 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 4 Oct 2022 12:48:29 +0000 (14:48 +0200)
commit0addb302ac87531a107b07991616b21c8b8e6a48
tree2233f99b1ceaf7a9aa9ad9d3ecac323c92c909fd
parentb002d47953e341b6c84e39001d312bd95a3b5078
server: Fix flaky TestServerPathEncodingIssues tests

Set getNumHomes: 1 to enable 567 ms or 2 s of wait for the server
to be ready in TestServerPathEncodingIssues/Unicode_paths and
TestServerPathEncodingIssues/Windows_multilingual_404.

Fixes #10332
commands/server_test.go