summaryrefslogtreecommitdiff
path: root/debian/libapt-pkg-doc.doc-base.method
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-27 13:26:14 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-27 13:26:14 +0100
commitb2d534b458f911eba7b4b0d71ae2ae31174ced32 (patch)
treec08fa02acf5140988b03f48a39f02159d995efe3 /debian/libapt-pkg-doc.doc-base.method
parent307eb800c7019b5d22df879478a13e58fc789cc2 (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 'debian/libapt-pkg-doc.doc-base.method')
0 files changed, 0 insertions, 0 deletions