Work-in-progress packages for pkgsrc, the portable package system from NetBSD [mirror]
TRITON-2346 Fix assertion thrown when running full-cache-refresh (#31)
Reviewed by: Dan McDonald dan.mcdonald@mnx.io
config
should be provided as a top-level property to the CacheSentinel
constructor.
Also, since the config
object is being provided, adminUuid
and cacheConfig
are also no longer needed as top-level properties.
Installed updated dhcp zone in local headnode, confirmed assertion no longer occurred and that CNs still booted.
$ make test
...
/home/tpaul/sdc-booter/build/node/bin/node ./node_modules/.bin/tap test/unit/*.test.js
test/unit/bootparams.test.js ........................ 69/69
test/unit/menulst.test.js ........................... 10/10
total ............................................... 79/79
79 passing (1s)
ok
$ make check
...
/home/tpaul/sdc-booter/build/node/bin/node node_modules/.bin/eslint server.js lib/booter.js lib/bootparams.js lib/dhcp.js lib/json-file.js lib/dhcpd.js lib/menulst.js lib/net-file.js lib/boot-files.js lib/cache.js lib/admin-pool-cache.js lib/find.js lib/boot-module-files.js lib/clients.js test/unit/bootparams.test.js test/unit/menulst.test.js test/lib/file.js test/lib/log.js test/lib/server.js test/lib/mocks.js test/integration/server.test.js bin/hn-netfile
json --validate -f config.json.sample
json --validate -f package.json
deps/jsstyle/jsstyle -o indent=4,doxygen,unparenthesized-return=0 server.js lib/booter.js lib/bootparams.js lib/dhcp.js lib/json-file.js lib/dhcpd.js lib/menulst.js lib/net-file.js lib/boot-files.js lib/cache.js lib/admin-pool-cache.js lib/find.js lib/boot-module-files.js lib/clients.js test/unit/bootparams.test.js test/unit/menulst.test.js test/lib/file.js test/lib/log.js test/lib/server.js test/lib/mocks.js test/integration/server.test.js bin/hn-netfile
bash -n bin/booter
bash -n bin/dhcpd
/home/tpaul/sdc-booter/build/node/bin/node deps/eng/tools/bashstyle bin/booter
/home/tpaul/sdc-booter/build/node/bin/node deps/eng/tools/bashstyle bin/dhcpd
deps/eng/tools/check-copyright -q
check ok
config
should be provided as a top-level property to the CacheSentinel
constructor.
Also, since the config
object is being provided, adminUuid
and cacheConfig
are also no longer needed as top-level properties.
Run unit tests in Jenkins
no pkg found for openssl-1.1.1q
Update copyright, add 256 hashalg