mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
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:
parent
7af151ded0
commit
7d62f0d9b8
11 changed files with 53 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ Host: machine.%TESTNUMBER:%HTTPPORT
|
|||
Proxy-Authorization: Basic dGVzdDppbmc=
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
[DISCONNECT]
|
||||
</proxy>
|
||||
<protocol>
|
||||
GET /%TESTNUMBER HTTP/1.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue