Skip to content

Commit

Permalink
fix(swingset): test-worker.js: disable XS test until xsnap is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Jan 18, 2021
1 parent 7fde6a4 commit 61b2567
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/SwingSet/test/workers/test-worker.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import '@agoric/install-ses';
import test from 'ava';
import { resolve } from 'path';
import { existsSync } from 'fs';
import { locateWorkerBin } from '@agoric/xs-vat-worker';
import { loadBasedir, buildVatController } from '../../src/index';

const xsWorkerBin = locateWorkerBin({ resolve });
const maybeTestXS = existsSync(xsWorkerBin) ? test : test.skip;
// The XS worker is disabled until the xsnap-based approach is ready for
// testing. Unlike the old approach, I think we'll build xsnap
// unconditionally, so we won't need the old 'maybeTestXS' conditional.

maybeTestXS('xs vat manager', async t => {
test.skip('xs vat manager', async t => {
const config = await loadBasedir(__dirname);
config.vats.target.creationOptions = { managerType: 'xs-worker' };
const c = await buildVatController(config, []);
Expand Down

0 comments on commit 61b2567

Please sign in to comment.