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

Abierto
#55,356 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@Maha-ait ya está trabajando en esto.

Desde el 1/11/2026.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, cpp
Área
backend, cloud

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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++

Lenguaje dominante
C++
Estrellas
17.3k
Forks
4.4k
Merge medio
2 d 23 h
PR fusionados (30 d)
69

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/arrow

Todos los issues de apache/arrow

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.