示例#1
0
func agentRPCTestStartBlpPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	err := client.StartBlp(ctx, tablet)
	expectRPCWrapLockPanic(t, err)
}
示例#2
0
func agentRPCTestStartBlpPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	err := client.StartBlp(ctx, tablet)
	expectHandleRPCPanic(t, "StartBlp", true /*verbose*/, err)
}
示例#3
0
func agentRPCTestStartBlp(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
	err := client.StartBlp(ctx, tablet)
	compareError(t, "StartBlp", err, true, testStartBlpCalled)
}
示例#4
0
func agentRpcTestStartBlp(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	err := client.StartBlp(ti, time.Minute)
	compareError(t, "StartBlp", err, true, testStartBlpCalled)
}