func agentRPCTestMasterPositionPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.MasterPosition(ctx, tablet) expectRPCWrapPanic(t, err) }
func agentRPCTestMasterPositionPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.MasterPosition(ctx, tablet) expectHandleRPCPanic(t, "MasterPosition", false /*verbose*/, err) }
func agentRPCTestMasterPosition(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { rs, err := client.MasterPosition(ctx, tablet) compareError(t, "MasterPosition", err, rs, testReplicationPosition) }
func agentRpcTestMasterPosition(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { rs, err := client.MasterPosition(ti, time.Minute) compareError(t, "MasterPosition", err, rs, testReplicationPosition) }