mirror of
https://github.com/whyour/qinglong.git
synced 2026-10-16 22:35:32 +08:00
fix: resolve Debian regression findings (#3087)
* fix: resolve Debian regression findings * fix: reject failed APT index refreshes and simplify SSH home lookup
This commit is contained in:
@@ -312,7 +312,12 @@ test('static verification still fails when fresh notifications never synchronize
|
||||
},
|
||||
);
|
||||
assert.equal(result.status, 1, result.stderr + result.stdout);
|
||||
assert.equal(git('-C', source, 'rev-list', '--count', triggerRef), '2');
|
||||
// The retry contract is checked above. A short polling deadline can expire
|
||||
// while the REST fixture is still sending its second notification.
|
||||
const notifications = Number(
|
||||
git('-C', source, 'rev-list', '--count', triggerRef),
|
||||
);
|
||||
assert.ok(notifications >= 1 && notifications <= 2);
|
||||
assert.match(result.stdout, /::error::Mirror did not match/);
|
||||
const invalid = spawnSync(
|
||||
'bash',
|
||||
|
||||
Reference in New Issue
Block a user