Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Feb 28, 2025
1 parent e425e84 commit fe38b11
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ describe('QueryOrchestrator', () => {
expect(result.data[0]).toMatch(/orders_d20210501/);
expect(result.data[0]).not.toMatch(/orders_h2021053000/);
expect(result.data[0]).toMatch(/orders_h2021053100/);
expect(result.data[0]).toMatch(/orders_h2021060100_fv2h1pdp_3wsilqun/);
expect(result.data[0]).toMatch(/orders_h2021060100_uozkyaur_d004iq51/);

result = await queryOrchestrator.fetchQuery(query(['2021-05-31T00:00:00.000', '2021-05-31T23:59:59.999']));
console.log(JSON.stringify(result, null, 2));
Expand All @@ -1319,7 +1319,7 @@ describe('QueryOrchestrator', () => {
expect(result.data[0]).toMatch(/orders_d20210501/);
expect(result.data[0]).not.toMatch(/orders_h2021053000/);
expect(result.data[0]).toMatch(/orders_h2021053100/);
expect(result.data[0]).toMatch(/orders_h2021060100_fv2h1pdp_3wsilqun/);
expect(result.data[0]).toMatch(/orders_h2021060100_uozkyaur_d004iq51/);
});

test('lambda partitions week', async () => {
Expand Down Expand Up @@ -1407,7 +1407,7 @@ describe('QueryOrchestrator', () => {
console.log(JSON.stringify(result, null, 2));
expect(result.data[0]).not.toMatch(/orders_h2021053000/);
expect(result.data[0]).toMatch(/orders_h2021053100/);
expect(result.data[0]).toMatch(/orders_h2021060100_fv2h1pdp_3wsilqun/);
expect(result.data[0]).toMatch(/orders_h2021060100_uozkyaur_d004iq51/);
});

test('real-time sealing partitions', async () => {
Expand Down

0 comments on commit fe38b11

Please sign in to comment.