Beispiel #1
0
func agentRPCTestStopBlpPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	_, err := client.StopBlp(ctx, tablet)
	expectRPCWrapLockPanic(t, err)
}
Beispiel #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)
}
Beispiel #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)
}
Beispiel #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)
}