Skip to content

Commit d1dad32

Browse files
committed
simplify test_shutdown_shouldCompleteReturnedHandleWhenDone
1 parent 717fdab commit d1dad32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/DistributedActorsTests/ClusterSystemTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ final class ClusterSystemTests: SingleClusterSystemXCTestCase {
7676
}
7777

7878
func test_shutdown_shouldCompleteReturnedHandleWhenDone() async throws {
79-
let system2 = await ClusterSystem("ShutdownSystem")
80-
let shutdown = try system2.shutdown()
79+
let shutdown = try system.shutdown()
8180
try shutdown.wait(atMost: .seconds(5))
8281
}
8382

0 commit comments

Comments
 (0)