Skip to content

Commit 3b9eef6

Browse files
Update expected memory size in actor memory tests (#1207)
1 parent e1a6b44 commit 3b9eef6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/DistributedClusterTests/Metrics/ActorMemoryTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ final class ActorMemoryTests: XCTestCase {
2424
// TODO: we could use malloc hooking to get an idea about this in allocation tests; more interesting since over time as well based on ops
2525

2626
func test_osx_actorShell_instanceSize() {
27-
#if os(OSX)
28-
class_getInstanceSize(_ActorShell<Int>.self).shouldEqual(624)
29-
class_getInstanceSize(_ActorShell<String>.self).shouldEqual(624)
27+
#if os(macOS)
28+
class_getInstanceSize(_ActorShell<Int>.self).shouldEqual(576)
29+
class_getInstanceSize(_ActorShell<String>.self).shouldEqual(576)
3030
#else
3131
print("Skipping test_osx_actorShell_instanceSize as requires Objective-C runtime")
3232
#endif

0 commit comments

Comments
 (0)