Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe("Connection Handoff", () => {
];

for (const { name, clientOptions } of cases) {
it.only(`should establish new connection and resume traffic afterwards - ${name}`, async () => {
it(`should establish new connection and resume traffic afterwards - ${name}`, async () => {
client = await createTestClient(clientConfig, clientOptions);

const spyObject = spyOnTemporaryClientInstanceMethod(client, "connect");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export type ActionType =
| "execute_rlutil_command"
| "execute_rladmin_command"
| "migrate"
| "bind";
| "bind"
| "update_cluster_config";

export interface ActionRequest {
type: ActionType;
Expand Down Expand Up @@ -47,7 +48,9 @@ export class FaultInjectorClient {
* @param action The action request to trigger
* @throws {Error} When the HTTP request fails or response cannot be parsed as JSON
*/
public triggerAction<T extends { action_id: string }>(action: ActionRequest): Promise<T> {
public triggerAction<T extends { action_id: string }>(
action: ActionRequest
): Promise<T> {
return this.#request<T>("POST", "/action", action);
}

Expand Down
Loading