Exemple #1
0
func agentRPCTestStopBlpPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	_, err := client.StopBlp(ctx, tablet)
	expectRPCWrapLockPanic(t, err)
}
Exemple #2
0
func agentRPCTestStopBlpPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	_, err := client.StopBlp(ctx, tablet)
	expectHandleRPCPanic(t, "StopBlp", true /*verbose*/, err)
}
Exemple #3
0
func agentRPCTestStopBlp(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	bpl, err := client.StopBlp(ctx, tablet)
	compareError(t, "StopBlp", err, bpl, testBlpPositionList)
}
Exemple #4
0
func agentRpcTestStopBlp(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	bpl, err := client.StopBlp(ti, time.Minute)
	compareError(t, "StopBlp", err, bpl, testBlpPositionList)
}