You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We use simulated tablet vstreamer heartbeats as a substitute for the hardcoded 900ms
1776
+
// heartbeats that come from a real tablet server's vstreamer because we have no real
1777
+
// tablet server here.
1778
+
simulateVstreamerHeartbeatsbool
1779
+
wantErrstring
1780
+
}
1781
+
testcases:= []testcase{
1782
+
{
1783
+
name: "should fail liveness check",
1784
+
livenessTimeout: 100*time.Millisecond,
1785
+
wantErr: fmt.Sprintf("vstream is fully throttled or otherwise hung: vstream failed liveness checks as there was no activity, including heartbeats, within the last %v", 100*time.Millisecond),
throttlerErrs<-vterrors.Errorf(vtrpcpb.Code_INTERNAL, "vstreamer has been fully throttled for more than %v, giving up so that we can retry", fullyThrottledTimeout)
0 commit comments