Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15852#discussion_r88353490
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSourceSuite.scala
 ---
    @@ -896,32 +898,35 @@ class FileStreamSourceSuite extends 
FileStreamSourceTest {
         }
       }
     
    -  test("compacat metadata log") {
    +  test("compact interval metadata log") {
         val _sources = PrivateMethod[Seq[Source]]('sources)
         val _metadataLog = PrivateMethod[FileStreamSourceLog]('metadataLog)
     
    -    def verify(execution: StreamExecution)
    -      (batchId: Long, expectedBatches: Int): Boolean = {
    +    def verify(execution: StreamExecution, batchId: Long,
    +               expectedBatches: Int, expectedCompactInterval: Int): 
Boolean = {
    --- End diff --
    
    nit: the correct style should be
    ```Scala
    def verify(
        execution: StreamExecution,
        batchId: Long,
        expectedBatches: Int,
        expectedCompactInterval: Int): Boolean = {
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to