Skip to content

Commit ded2b5f

Browse files
authored
Merge pull request #1202 from input-output-hk/test/LW-9889-re-enable-tests
LW-9889 Re-enable skipped tests
2 parents 9e1b3fe + f6a0d36 commit ded2b5f

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

packages/cardano-services/test/ChainHistory/ChainHistoryHttpService.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,7 @@ describe('ChainHistoryHttpService', () => {
516516
expect(response.pageResults[0].body.inputs).toMatchShapeOf(DataMocks.Tx.inputs);
517517
});
518518

519-
// TODO: LW-9889 Empty genesis addresses returned by fixtureBuilder.getGenesisAddresses()
520-
it.skip('finds transactions with address within outputs', async () => {
519+
it('finds transactions with address within outputs', async () => {
521520
const addresses: Cardano.PaymentAddress[] = await fixtureBuilder.getGenesisAddresses();
522521
expect(() => Cardano.PaymentAddress(addresses[0] as unknown as string)).not.toThrow();
523522

packages/cardano-services/test/ChainHistory/fixtures/queries.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,9 @@ export const genesisUtxoAddresses = `
7676
address
7777
FROM
7878
tx_out WHERE
79-
stake_address_id = 1 OR
80-
stake_address_id = 2 OR
81-
stake_address_id = 3
82-
GROUP BY address`;
79+
value = 500000000000
80+
GROUP BY address
81+
LIMIT 3`;
8382

8483
export const transactionInBlockRange = `
8584
SELECT

packages/cardano-services/test/StakePool/DbSyncStakePoolProvider/StakePoolBuilder.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,7 @@ describe('StakePoolBuilder', () => {
270270
});
271271
});
272272
describe('buildAndQuery', () => {
273-
// TODO: LW-9889 Debug and reenable after Node 8.8 upgrade
274-
it.skip('buildAndQuery, queryPoolHashes & queryTotalCount', async () => {
273+
it('buildAndQuery, queryPoolHashes & queryTotalCount', async () => {
275274
const builtQuery = builder.buildAndQuery(filters);
276275
const { query, params } = builtQuery;
277276
const poolHashes = await builder.queryPoolHashes(query, params);

0 commit comments

Comments
 (0)