func agentRpcTestSleep(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.Sleep(ctx, ti, testSleepDuration) if err != nil { t.Errorf("Sleep failed: %v", err) } }