diff --git a/lib/zinnia.js b/lib/zinnia.js index 93d8576d..07acb279 100644 --- a/lib/zinnia.js +++ b/lib/zinnia.js @@ -7,7 +7,7 @@ import pRetry from 'p-retry' import timers from 'node:timers/promises' import { join } from 'node:path' -const ZINNIA_DIST_TAG = 'v0.20.3' +const ZINNIA_DIST_TAG = 'v0.22.2' const SUBNETS = [ { subnet: 'spark', diff --git a/test/checker.js b/test/checker.js index 8c2f2a67..e0ec520c 100644 --- a/test/checker.js +++ b/test/checker.js @@ -24,6 +24,16 @@ describe('Checker', () => { assert.strictEqual(ps.exitCode, null) stopChecker() }) + it('runs Spark Checker', async () => { + const ps = startChecker() + await Promise.race([ + once(ps, 'exit'), + streamMatch(ps.stdout, 'SPARK started reporting retrievals'), + ]) + // Assert that the process did not exit prematurely + assert.strictEqual(ps.exitCode, null) + stopChecker() + }) it('runs experimental subnets', () => { it('runs Arweave & Walrus', async () => { const ps = startChecker(['--experimental'])