Skip to content

Commit

Permalink
Fix broken test from ide refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Oct 5, 2023
1 parent 43d1b92 commit b9f2de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system_info_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -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).... */
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit b9f2de1

Please sign in to comment.