Skip to content

Commit a12bba6

Browse files
authored
Adjust macOS only object size test (#1130)
1 parent 70f4191 commit a12bba6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Sources/DistributedCluster/Plugins/ClusterSingleton/ClusterSingletonBoss.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ internal distributed actor ClusterSingletonBoss<Act: ClusterSingleton>: ClusterS
137137
await self.handOver(to: node)
138138
}
139139

140-
// TODO: await here for the handover?
141-
142140
// Update `singleton` regardless
143141
try await self.updateSingleton(node: node)
144142
}

Tests/DistributedClusterTests/Metrics/ActorMemoryTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ final class ActorMemoryTests: XCTestCase {
2424

2525
func test_osx_actorShell_instanceSize() {
2626
#if os(OSX)
27-
class_getInstanceSize(_ActorShell<Int>.self).shouldEqual(632)
28-
class_getInstanceSize(_ActorShell<String>.self).shouldEqual(632)
27+
class_getInstanceSize(_ActorShell<Int>.self).shouldEqual(634)
28+
class_getInstanceSize(_ActorShell<String>.self).shouldEqual(634)
2929
#else
3030
print("Skipping test_osx_actorShell_instanceSize as requires Objective-C runtime")
3131
#endif

0 commit comments

Comments
 (0)