func agentRPCTestExecuteHookPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.ExecuteHook(ctx, tablet, testExecuteHookHook) expectRPCWrapLockActionPanic(t, err) }
func agentRPCTestExecuteHookPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.ExecuteHook(ctx, tablet, testExecuteHookHook) expectHandleRPCPanic(t, "ExecuteHook", true /*verbose*/, err) }
func agentRPCTestExecuteHook(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { hr, err := client.ExecuteHook(ctx, tablet, testExecuteHookHook) compareError(t, "ExecuteHook", err, hr, testExecuteHookHookResult) }
func agentRpcTestExecuteHook(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { hr, err := client.ExecuteHook(ti, testExecuteHookHook, time.Minute) compareError(t, "ExecuteHook", err, hr, testExecuteHookHookResult) }