diff --git a/kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/MetricsReportSuite.scala b/kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/MetricsReportSuite.scala index da88486e9c..1610f97326 100644 --- a/kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/MetricsReportSuite.scala +++ b/kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/MetricsReportSuite.scala @@ -119,7 +119,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils { case None => assert(!snapshotReport.exception().isPresent) } assert(snapshotReport.reportUUID != null) - assert(Objects.equals(snapshotReport.version, expectedVersion), s"Expected version $expectedVersion found ${snapshotReport.version}") + assert(Objects.equals(snapshotReport.version, expectedVersion), + s"Expected version $expectedVersion found ${snapshotReport.version}") assert(Objects.equals(snapshotReport.providedTimestamp, expectedProvidedTimestamp)) // 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 { ) // Test getSnapshotAsOfTimestamp - val version2Timestamp = new File(FileNames.deltaFile(new Path(tempDir.getCanonicalPath, "_delta_log"), 2)) - .lastModified() + val version2Timestamp = new File( + FileNames.deltaFile(new Path(tempDir.getCanonicalPath, "_delta_log"), 2)).lastModified() checkSnapshotReport( (table, engine) => table.getSnapshotAsOfTimestamp(engine, version2Timestamp), tempDir.getCanonicalPath, @@ -302,7 +303,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils { // Test getSnapshotAsOfTimestamp // We use the timestamp of version 0 - val version0Timestamp = new File(FileNames.deltaFile(new Path(path, "_delta_log"), 0)).lastModified() + val version0Timestamp = new File(FileNames.deltaFile(new Path(path, "_delta_log"), 0)) + .lastModified() checkSnapshotReport( (table, engine) => table.getSnapshotAsOfTimestamp(engine, version0Timestamp), path,