Skip to content

Commit

Permalink
remove extra loader for now
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 25, 2023
1 parent 4273d98 commit 889a990
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/s3_compute_platform_info_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ static int s_load_platform_info_from_global_state_sanity_test(struct aws_allocat
ASSERT_TRUE(platform_info->cpu_group_info_array_length > 0);

if (platform_info->instance_type.len) {
struct aws_s3_compute_platform_info_loader *loader = aws_s3_compute_platform_info_loader_new(allocator);
const struct aws_s3_compute_platform_info *by_name_info =
aws_s3_get_compute_platform_info_for_instance_type(loader, platform_info->instance_type);
if (by_name_info) {
Expand All @@ -89,9 +88,8 @@ static int s_load_platform_info_from_global_state_sanity_test(struct aws_allocat
ASSERT_UINT_EQUALS(platform_info->cpu_group_info_array_length, by_name_info->cpu_group_info_array_length);
ASSERT_UINT_EQUALS(platform_info->max_throughput_gbps, by_name_info->max_throughput_gbps);
}

aws_s3_compute_platform_info_loader_release(loader);
}
aws_s3_compute_platform_info_loader_release(loader);

aws_s3_library_clean_up();
return AWS_OP_SUCCESS;
Expand Down

0 comments on commit 889a990

Please sign in to comment.