diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-27 13:26:14 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-27 13:26:14 +0100 |
| commit | b2d534b458f911eba7b4b0d71ae2ae31174ced32 (patch) | |
| tree | c08fa02acf5140988b03f48a39f02159d995efe3 /doc/apt-transport-https.1.xml | |
| parent | 307eb800c7019b5d22df879478a13e58fc789cc2 (diff) | |
test-apt-ftparchive-cachedb: Avoid race condition in test case
apt-ftparchive skips regenerating Contents if they are newer than
the Packages files. Most of the time, the test ended up generating
Contents and Packages files with the same-second timestamp; so we
ended up regenerating them and passing the test.
However, sometimes, the timestamp of the Contents file was 1s
higher and we ended up not regenerating the Contents file and
hence failed the test case.
Ensure the timestamps actually are the same to avoid the race
condition and make this stable.
Diffstat (limited to 'doc/apt-transport-https.1.xml')
0 files changed, 0 insertions, 0 deletions
