From b9f2de1ca996a0c1368165805dd89aa6a691ae32 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Thu, 5 Oct 2023 14:50:38 -0700 Subject: [PATCH] Fix broken test from ide refactor. --- tests/system_info_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system_info_tests.c b/tests/system_info_tests.c index f0e0268b8..8bd01ca4f 100644 --- a/tests/system_info_tests.c +++ b/tests/system_info_tests.c @@ -12,7 +12,7 @@ static int s_test_cpu_count_at_least_works_superficially_fn(struct aws_allocator (void)allocator; (void)ctx; - size_t processor_count = aws_system_environment_get_processor_count(); + size_t processor_count = aws_system_info_processor_count(); /* I think this is a fairly reasonable assumption given the circumstances * (you know this test is part of a program * that must be running on at least one core).... */ @@ -119,7 +119,7 @@ static int s_test_sanity_check_numa_discovery(struct aws_allocator *allocator, v (void)ctx; aws_common_library_init(allocator); - size_t processor_count = aws_system_environment_get_processor_count(); + size_t processor_count = aws_system_info_processor_count(); ASSERT_TRUE(processor_count > 0); uint16_t group_count = aws_get_cpu_group_count();