File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -939,24 +939,24 @@ fn add_superset_container_probes(superset_cb: &mut ContainerBuilder) {
939939 common
940940 . clone ( )
941941 . with_failure_threshold_duration ( Duration :: from_minutes_unchecked ( 10 ) )
942- . expect ( "static period is always non-zero" )
942+ . expect ( "const period is non-zero" )
943943 . build ( )
944- . expect ( "static durations are not too long " ) ,
944+ . expect ( "const duration does not overflow " ) ,
945945 ) ;
946946
947947 // Remove it from the Service immediately
948948 superset_cb. readiness_probe (
949949 common
950950 . clone ( )
951951 . build ( )
952- . expect ( "static durations are not too long " ) ,
952+ . expect ( "const duration does not overflow " ) ,
953953 ) ;
954954 // But only restart it after 3 failures
955955 superset_cb. liveness_probe (
956956 common
957957 . with_failure_threshold ( 3 )
958958 . build ( )
959- . expect ( "static durations are not too long " ) ,
959+ . expect ( "const duration does not overflow " ) ,
960960 ) ;
961961}
962962
You can’t perform that action at this time.
0 commit comments