func agentRPCTestSleepPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.Sleep(ctx, tablet, testSleepDuration) expectRPCWrapLockActionPanic(t, err) }
func agentRPCTestSleepPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.Sleep(ctx, tablet, testSleepDuration) expectHandleRPCPanic(t, "Sleep", true /*verbose*/, err) }
func agentRPCTestSleep(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.Sleep(ctx, tablet, testSleepDuration) if err != nil { t.Errorf("Sleep failed: %v", err) } }
func agentRpcTestSleep(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.Sleep(ti, testSleepDuration, time.Minute) if err != nil { t.Errorf("Sleep failed: %v", err) } }