func agentRPCTestGetPermissionsPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.GetPermissions(ctx, tablet) expectRPCWrapPanic(t, err) }
func agentRPCTestGetPermissionsPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.GetPermissions(ctx, tablet) expectHandleRPCPanic(t, "GetPermissions", false /*verbose*/, err) }
func agentRPCTestGetPermissions(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { result, err := client.GetPermissions(ctx, tablet) compareError(t, "GetPermissions", err, result, testGetPermissionsReply) }
func agentRpcTestGetPermissions(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { result, err := client.GetPermissions(ti, time.Minute) compareError(t, "GetPermissions", err, result, testGetPermissionsReply) }