func agentRPCTestInitMaster(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { rp, err := client.InitMaster(ctx, tablet) compareError(t, "InitMaster", err, rp, testReplicationPosition) }
func agentRPCTestInitMasterPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.InitMaster(ctx, tablet) expectRPCWrapLockActionPanic(t, err) }
func agentRPCTestInitMasterPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { _, err := client.InitMaster(ctx, tablet) expectHandleRPCPanic(t, "InitMaster", true /*verbose*/, err) }