[C++] TST: TestS3FSGeneric.GetFileInfoSelector due to milliseconds with new aws bindings

Đang mở
#55,356 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Maha-ait đang làm issue này rồi.

Từ ngày 1/11/2026.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, cpp
Lĩnh vực
backend, cloud

Hướng nghiên cứu

The failing assertion is in cpp/src/arrow/filesystem/test_util.cc around line 159, where the mtime from the S3 listing is compared against an expected value truncated to seconds. Start by reading that comparison and how the S3 test fixture sets its timestamps, then run TestS3FSGeneric.GetFileInfoSelector against the newer AWS SDK. Done means the test passes with both the old and new AWS bindings, with the timestamp comparison handling sub-second precision consistently.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Component: C++ Type: bug
Describe the bug, including details regarding any error messages, version, and platform.

Seeing test failures in https://github.com/conda-forge/arrow-cpp-feedstock/pull/2062 against newer aws bindings; looks like timestamps either gained or lost millisecond accuracy, where the tests expect only seconds

[ RUN      ] TestS3FSGeneric.GetFileInfoSelector
$SRC_DIR/cpp/src/arrow/filesystem/test_util.cc:159: Failure
Expected equality of these values:
  info.mtime()
    Which is: 2026-10-25 10:56:50.000000000
  mtime
    Which is: 2026-10-25 10:56:50.791000000
For path 'AB/CD/ghi'

[  FAILED  ] TestS3FSGeneric.GetFileInfoSelector (102 ms)
Component(s)

C++

Ngôn ngữ chính
C++
Star
17.3k
Fork
4.4k
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
69

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/arrow

Tất cả issue của apache/arrow

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.