Skip to content

[C++] Skip TimestampParser.StrptimeZoneOffset with old glibc #43808

@kou

Description

@kou

Describe the enhancement requested

It seems that old glibc (2.17) doesn't support -0117 timezone offset.

#35587 (comment)

[ RUN      ] TimestampParser.StrptimeZoneOffset
$SRC_DIR/cpp/src/arrow/util/value_parsing_test.cc:852: Failure
Expected equality of these values:
  expected
    Which is: 1514769420
  converted
    Which is: 1514769408
Google Test trace:
$SRC_DIR/cpp/src/arrow/util/value_parsing_test.cc:847: 2018-01-01 00:00:00-0117

[  FAILED  ] TimestampParser.StrptimeZoneOffset (0 ms)

At least glibc 2.28 (on AlmaLinux 8) works. See also: #35587 (comment)

Let's skip the test with glibc < 2.28.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions