fix(ci): repair baseline checks
This commit is contained in:
1 parent
68733fbf51
commit
01e67ee9a4
9 files changed
+71
-34
No files matched your search
@@ -238,12 +238,7 @@ describe("SubscriptionsPanel Kafka absolute offset reset", () => {
|
||||
buttonWithExactText(panel, "mqSubscriptions.reset").click();
|
||||
await flushUi();
|
||||
|
||||
expect(backend.mqResetCursor).toHaveBeenCalledWith(
|
||||
"mq-1",
|
||||
expect.objectContaining({ topic: "events" }),
|
||||
"orders-consumer",
|
||||
{ kind: "partitionOffset", partition: 1, offset: 42 },
|
||||
);
|
||||
expect(backend.mqResetCursor).toHaveBeenCalledWith("mq-1", expect.objectContaining({ topic: "events" }), "orders-consumer", { kind: "partitionOffset", partition: 1, offset: 42 });
|
||||
});
|
||||
|
||||
it.each([
|
||||
|
||||
@@ -271,10 +271,7 @@ describe("tableStructureEditorState", () => {
|
||||
});
|
||||
|
||||
it("keeps a saved Oracle length unit when refreshed metadata omits it", () => {
|
||||
const [legacyAgentDraft] = createColumnDrafts(
|
||||
[{ name: "DISPLAY_NAME", data_type: "VARCHAR2(255)", is_nullable: true, column_default: null, is_primary_key: false, extra: null }],
|
||||
"oracle",
|
||||
);
|
||||
const [legacyAgentDraft] = createColumnDrafts([{ name: "DISPLAY_NAME", data_type: "VARCHAR2(255)", is_nullable: true, column_default: null, is_primary_key: false, extra: null }], "oracle");
|
||||
|
||||
const [restored] = restoreCharacterLengthUnitsAfterSave("oracle", [legacyAgentDraft!], new Map([["display_name", "VARCHAR2(255 CHAR)"]]));
|
||||
|
||||
|
||||
@@ -232,12 +232,7 @@ export interface ProducerInfo {
|
||||
clientVersion: string;
|
||||
}
|
||||
|
||||
export type ResetPosition =
|
||||
| { kind: "earliest" }
|
||||
| { kind: "latest" }
|
||||
| { kind: "timestamp"; timestampMs: number }
|
||||
| { kind: "partitionOffset"; partition: number; offset: number }
|
||||
| { kind: "messageId"; ledgerId: number; entryId: number };
|
||||
export type ResetPosition = { kind: "earliest" } | { kind: "latest" } | { kind: "timestamp"; timestampMs: number } | { kind: "partitionOffset"; partition: number; offset: number } | { kind: "messageId"; ledgerId: number; entryId: number };
|
||||
|
||||
export type SkipCount = { kind: "all" } | { kind: "count"; count: number };
|
||||
|
||||
|
||||
Reference in new issue
Block a user