Commit 30c5f434 authored by Michael Case's avatar Michael Case Committed by TensorFlower Gardener
Browse files

Fix float32 precision causing test failure in gcs cloud TF tests.

The time in nanoseconds was being cast to float32 which caused loss
of precision. Because floats are used when parsing the time, the time
calculation can still be rounded incorrectly. Also changing EXPECT_EQ
to EXPECT_NEAR(,,1).

PiperOrigin-RevId: 171338952
parent 2a90713e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment