Skip to content

Commit 46b97cc

Browse files
committed
Unskip tests
1 parent d8c875b commit 46b97cc

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

apps/webapp/test/runsReplicationService.part2.test.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
import { ClickHouse } from "@internal/clickhouse";
22
import { containerTest } from "@internal/testcontainers";
33
import { Logger } from "@trigger.dev/core/logger";
4+
import { readFile } from "node:fs/promises";
45
import { setTimeout } from "node:timers/promises";
56
import { z } from "zod";
6-
import { TaskRunStatus } from "~/database-types";
77
import { RunsReplicationService } from "~/services/runsReplicationService.server";
8-
import { createInMemoryTracing } from "./utils/tracing";
9-
import superjson from "superjson";
10-
import { readFile } from "node:fs/promises";
118
import { detectBadJsonStrings } from "~/utils/detectBadJsonStrings";
129

1310
vi.setConfig({ testTimeout: 60_000 });
1411

1512
describe("RunsReplicationService (part 2/2)", () => {
16-
containerTest.skip(
13+
containerTest(
1714
"should handover leadership to a second service, and the second service should be able to extend the leader lock",
1815
async ({ clickhouseContainer, redisOptions, postgresContainer, prisma }) => {
1916
await prisma.$executeRawUnsafe(`ALTER TABLE public."TaskRun" REPLICA IDENTITY FULL;`);
@@ -142,7 +139,7 @@ describe("RunsReplicationService (part 2/2)", () => {
142139
}
143140
);
144141

145-
containerTest.skip(
142+
containerTest(
146143
"should replicate all 1,000 TaskRuns inserted in bulk to ClickHouse",
147144
async ({ clickhouseContainer, redisOptions, postgresContainer, prisma }) => {
148145
await prisma.$executeRawUnsafe(`ALTER TABLE public."TaskRun" REPLICA IDENTITY FULL;`);
@@ -256,7 +253,7 @@ describe("RunsReplicationService (part 2/2)", () => {
256253
}
257254
);
258255

259-
containerTest.skip(
256+
containerTest(
260257
"should replicate all 1,000 TaskRuns inserted in bulk to ClickHouse with updates",
261258
async ({ clickhouseContainer, redisOptions, postgresContainer, prisma }) => {
262259
await prisma.$executeRawUnsafe(`ALTER TABLE public."TaskRun" REPLICA IDENTITY FULL;`);
@@ -376,7 +373,7 @@ describe("RunsReplicationService (part 2/2)", () => {
376373
}
377374
);
378375

379-
containerTest.skip(
376+
containerTest(
380377
"should replicate all events in a single transaction (insert, update)",
381378
async ({ clickhouseContainer, redisOptions, postgresContainer, prisma }) => {
382379
await prisma.$executeRawUnsafe(`ALTER TABLE public."TaskRun" REPLICA IDENTITY FULL;`);

0 commit comments

Comments
 (0)