Skip to content

Commit a455019

Browse files
Fix ActorTelemetrySpecs pool router unit test (#6376)
Co-authored-by: Aaron Stannard <[email protected]>
1 parent 7cee0ed commit a455019

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/Akka.Tests/Actor/ActorTelemetrySpecs.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ await AwaitAssertAsync(async () =>
283283
// assert that actor start count is still 10
284284
Assert.Equal(12, telemetry.ActorCreated);
285285

286-
// bug due to https://github.com/akkadotnet/akka.net/issues/6295 - all routees and the router start each time
287-
Assert.Equal(110, telemetry.ActorRestarted);
286+
Assert.Equal(10, telemetry.ActorRestarted);
288287
// assert no stops recorded
289288
Assert.Equal(0, telemetry.ActorStopped);
290289
}, RemainingOrDefault);
@@ -296,7 +295,7 @@ await AwaitAssertAsync(async () =>
296295
var telemetry = await subscriber.Ask<TelemetrySubscriber.GetTelemetry>(TelemetrySubscriber.GetTelemetryRequest.Instance);
297296
// assert that actor start count is still 10
298297
Assert.Equal(12, telemetry.ActorCreated);
299-
Assert.Equal(110, telemetry.ActorRestarted);
298+
Assert.Equal(10, telemetry.ActorRestarted);
300299
Assert.Equal(11, telemetry.ActorStopped);
301300
}, RemainingOrDefault);
302301
}

0 commit comments

Comments
 (0)