Skip to content

Commit

Permalink
test: NOT WORKING: show that there's a second auction vat
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Mar 29, 2024
1 parent 22d07be commit 44189f6
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
3 changes: 2 additions & 1 deletion a3p-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"doctor": "yarn synthetic-chain doctor"
},
"dependencies": {
"@agoric/synthetic-chain": "^0.0.7"
"@agoric/synthetic-chain": "^0.0.7",
"@types/better-sqlite3": "^7.6.9"
},
"packageManager": "[email protected]",
"license": "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import test from 'ava';
import { executeCommand } from '@agoric/synthetic-chain';
import { getDetailsMatchingVats } from './vatDetails.js';

test('new auction vat', async t => {
const data = await executeCommand('pgrep', ['-cf', 'auctioneer']);
t.is(data, '2');
console.log('starting');

// const ls = await executeCommand('ls', ['/usr/bin/pgrep']);
// console.log(ls);
// const data = await executeCommand('/usr/bin/pgrep', ['-cf', 'auctioneer']);
// t.is(data, '2');

const details = await getDetailsMatchingVats('auctioneer');
console.log(`test dees`, details);
t.truthy(details);
t.pass("I'm sure there are two auction vats, but I can't prove it here.");
});
26 changes: 26 additions & 0 deletions a3p-integration/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,24 @@ __metadata:
languageName: node
linkType: hard

"@types/better-sqlite3@npm:^7.6.9":
version: 7.6.9
resolution: "@types/better-sqlite3@npm:7.6.9"
dependencies:
"@types/node": "npm:*"
checksum: 10c0/7d77add3993968982374cd73586a100fc5b9c29570a167b5798a415744983041d9ae3dcbdfd83fcf807247b777e3b8dc4e045fb7dae4a3d8484c9366ab371680
languageName: node
linkType: hard

"@types/node@npm:*":
version: 20.11.30
resolution: "@types/node@npm:20.11.30"
dependencies:
undici-types: "npm:~5.26.4"
checksum: 10c0/867cfaf969c6d8850d8d7304e7ab739898a50ecb1395b61ff2335644f5f48d7a46fbc4a14cee967aed65ec134b61a746edae70d1f32f11321ccf29165e3bc4e6
languageName: node
linkType: hard

"abbrev@npm:^2.0.0":
version: 2.0.0
resolution: "abbrev@npm:2.0.0"
Expand Down Expand Up @@ -973,6 +991,7 @@ __metadata:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@agoric/synthetic-chain": "npm:^0.0.7"
"@types/better-sqlite3": "npm:^7.6.9"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -1190,6 +1209,13 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~5.26.4":
version: 5.26.5
resolution: "undici-types@npm:5.26.5"
checksum: 10c0/bb673d7876c2d411b6eb6c560e0c571eef4a01c1c19925175d16e3a30c4c428181fb8d7ae802a261f283e4166a0ac435e2f505743aa9e45d893f9a3df017b501
languageName: node
linkType: hard

"unique-filename@npm:^3.0.0":
version: 3.0.0
resolution: "unique-filename@npm:3.0.0"
Expand Down

0 comments on commit 44189f6

Please sign in to comment.