File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
GoogleDataTransport/GDTCORTests/Unit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ - (void)testUptime {
90
90
XCTAssertGreaterThan (clock2.uptimeNanoseconds , clock1.uptimeNanoseconds );
91
91
NSTimeInterval uptimeDiff =
92
92
(clock2.uptimeNanoseconds - clock1.uptimeNanoseconds ) / (double )NSEC_PER_SEC;
93
- NSTimeInterval accuracy = 0.1 ;
93
+ NSTimeInterval accuracy = 0.2 ;
94
94
95
95
// Assert that uptime difference reflects the actually passed time.
96
96
XCTAssertLessThanOrEqual (ABS (uptimeDiff - timeDiff), accuracy);
@@ -107,7 +107,7 @@ - (void)testUptimeMilliseconds {
107
107
NSTimeInterval millisecondsPerSecond = 1000 ;
108
108
NSTimeInterval uptimeDiff =
109
109
([clock2 uptimeMilliseconds ] - [clock1 uptimeMilliseconds ]) / millisecondsPerSecond;
110
- NSTimeInterval accuracy = 0.1 ;
110
+ NSTimeInterval accuracy = 0.2 ;
111
111
112
112
// Assert that uptime difference reflects the actually passed time.
113
113
XCTAssertLessThanOrEqual (ABS (uptimeDiff - timeDiff), accuracy);
You can’t perform that action at this time.
0 commit comments