@@ -889,7 +889,6 @@ describe("RunEngine getSnapshotsSince", () => {
889889 expect ( result ! . length ) . toBe ( expectedSnapshots . length ) ;
890890 expect ( result ! . map ( ( s ) => s . snapshot . id ) ) . toEqual ( expectedSnapshots . map ( ( s ) => s . id ) ) ;
891891
892- // The fallback fired exactly once - this counter is the prod rollout signal.
893892 expect ( await getCounterValue ( "run_engine.snapshots_since.replica_miss" ) ) . toBe ( 1 ) ;
894893 } finally {
895894 await engine . quit ( ) ;
@@ -1053,7 +1052,6 @@ describe("RunEngine getSnapshotsSince", () => {
10531052 expect ( result ! . map ( ( s ) => s . snapshot . id ) ) . not . toContain ( tail . id ) ;
10541053 expect ( result ! . map ( ( s ) => s . snapshot . id ) ) . toEqual ( expectedSnapshots . map ( ( s ) => s . id ) ) ;
10551054
1056- // The since snapshot was on the replica - no fallback fired.
10571055 expect ( await getCounterValue ( "run_engine.snapshots_since.replica_miss" ) ) . toBe ( 0 ) ;
10581056 } finally {
10591057 await engine . quit ( ) ;
@@ -1151,7 +1149,6 @@ describe("RunEngine getSnapshotsSince", () => {
11511149 expect ( expectedSnapshots . length ) . toBeGreaterThan ( 0 ) ;
11521150 expect ( result ! . map ( ( s ) => s . snapshot . id ) ) . toEqual ( expectedSnapshots . map ( ( s ) => s . id ) ) ;
11531151
1154- // No replica read attempted, so no fallback could have fired.
11551152 expect ( await getCounterValue ( "run_engine.snapshots_since.replica_miss" ) ) . toBe ( 0 ) ;
11561153 } finally {
11571154 await engine . quit ( ) ;
@@ -1251,7 +1248,6 @@ describe("RunEngine getSnapshotsSince", () => {
12511248 expect ( expectedSnapshots . length ) . toBeGreaterThan ( 0 ) ;
12521249 expect ( result ! . map ( ( s ) => s . snapshot . id ) ) . toEqual ( expectedSnapshots . map ( ( s ) => s . id ) ) ;
12531250
1254- // The tx served the read directly - the fallback path never ran.
12551251 expect ( await getCounterValue ( "run_engine.snapshots_since.replica_miss" ) ) . toBe ( 0 ) ;
12561252 } finally {
12571253 await engine . quit ( ) ;
0 commit comments