Skip to content

Commit

Permalink
Update BeaconClientManagerTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
uink45 committed Jul 29, 2024
1 parent 9693dd4 commit ced0ad9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/Lantern.Beacon.Tests/BeaconClientManagerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ public async Task StopAsync_ShouldHandleCancellation()
var cts = new CancellationTokenSource();
var startTask = _beaconClientManager.StartAsync(cts.Token);

await Task.Delay(500, cts.Token);
await _beaconClientManager.StopAsync();

Assert.That(startTask.IsCompleted, Is.True, "StartAsync should be canceled when the cancellation token is triggered");
Expand Down

0 comments on commit ced0ad9

Please sign in to comment.