From 6b8791c6058ae2693b264a0d4e041b11c1a3fefe Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Sun, 1 Nov 2026 11:32:27 +0100 Subject: [PATCH] Bulk PNI test fills the ports now that caches share them (#252) --- tests/pni-all.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pni-all.test.js b/tests/pni-all.test.js index 60e8e23..764f532 100644 --- a/tests/pni-all.test.js +++ b/tests/pni-all.test.js @@ -47,7 +47,7 @@ test('bulk PNIs skip router speed, port capacity and policy restrictions with ci const { dom, ev, errors } = load(); setup(ev, ['ams', 'lon', 'ash']); ev(`S.pops.fra.rgen=0;S.pops.ams.rgen=1; - S.caches=Array.from({length:portsMax('ams')},()=>({id:uid(),city:'ams',net:'cfl'})); + S.caches=Array.from({length:portsMax('ams')*cachePerPort('ams')},()=>({id:uid(),city:'ams',net:'cfl'})); while(['ams','lon'].some(c=>snub('msf',c)?.all))S.asn++; compute();R.demTo.msf=1e4;ACT.pniAllOpen({net:'msf'});ACT.pniAllSize({v:'2'})`); assert.equal(ev("pniBatch('msf',2).orders.length"), 1);