@@ -119,7 +119,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils {
119
119
case None => assert(! snapshotReport.exception().isPresent)
120
120
}
121
121
assert(snapshotReport.reportUUID != null )
122
- assert(Objects .equals(snapshotReport.version, expectedVersion), s " Expected version $expectedVersion found ${snapshotReport.version}" )
122
+ assert(Objects .equals(snapshotReport.version, expectedVersion),
123
+ s " Expected version $expectedVersion found ${snapshotReport.version}" )
123
124
assert(Objects .equals(snapshotReport.providedTimestamp, expectedProvidedTimestamp))
124
125
125
126
// Since we cannot know the actual durations of these we sanity check that they are > 0 and
@@ -260,8 +261,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils {
260
261
)
261
262
262
263
// Test getSnapshotAsOfTimestamp
263
- val version2Timestamp = new File (FileNames .deltaFile( new Path (tempDir.getCanonicalPath, " _delta_log " ), 2 ))
264
- .lastModified()
264
+ val version2Timestamp = new File (
265
+ FileNames .deltaFile( new Path (tempDir.getCanonicalPath, " _delta_log " ), 2 )) .lastModified()
265
266
checkSnapshotReport(
266
267
(table, engine) => table.getSnapshotAsOfTimestamp(engine, version2Timestamp),
267
268
tempDir.getCanonicalPath,
@@ -302,7 +303,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils {
302
303
303
304
// Test getSnapshotAsOfTimestamp
304
305
// We use the timestamp of version 0
305
- val version0Timestamp = new File (FileNames .deltaFile(new Path (path, " _delta_log" ), 0 )).lastModified()
306
+ val version0Timestamp = new File (FileNames .deltaFile(new Path (path, " _delta_log" ), 0 ))
307
+ .lastModified()
306
308
checkSnapshotReport(
307
309
(table, engine) => table.getSnapshotAsOfTimestamp(engine, version0Timestamp),
308
310
path,
0 commit comments