runtests; give each server a unique log lock file

Logs are written by several servers and all of them must be finished
writing before the test results can be determined. This means each
server must have its own lock file rather than sharing a single one,
which is how it was done up to now. Previously, the first server to
complete a test would clear the lock before the other server was done,
which caused flaky tests.

Lock files are now all found in their own directory, so counting locks
equals counting the files in that directory.  The result is that the
proxy logs are now reliably written which actually changes the expected
output for two tests.

Fixes #11231
Closes #11259
This commit is contained in:
Dan Fandrich 2023-06-05 14:50:15 -07:00
parent 7af151ded0
commit 7d62f0d9b8
11 changed files with 53 additions and 21 deletions

View file

@ -78,6 +78,7 @@ CONNECT the.old.moo.%TESTNUMBER:%HTTPPORT HTTP/1.1
Host: the.old.moo.%TESTNUMBER:%HTTPPORT
Proxy-Connection: Keep-Alive
[DISCONNECT]
</proxy>
<protocol>
GET /%TESTNUMBER HTTP/1.1

View file

@ -76,6 +76,7 @@ Host: machine.%TESTNUMBER:%HTTPPORT
Proxy-Authorization: Basic dGVzdDppbmc=
Proxy-Connection: Keep-Alive
[DISCONNECT]
</proxy>
<protocol>
GET /%TESTNUMBER HTTP/1.1