This is an automated email from the ASF dual-hosted git repository.

tbonelee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ed66e543e [MINOR] Fix NotebookServiceTest compilation failure in CI
8ed66e543e is described below

commit 8ed66e543eadd8484faeec8d7b3b244a1fae3df0
Author: SeungYoung Oh <[email protected]>
AuthorDate: Sun Sep 13 17:50:03 2026 +0900

    [MINOR] Fix NotebookServiceTest compilation failure in CI
    
    ### What is this PR for?
    Fix CI compilation failures by adding the missing argument to 
`NotebookServiceTest`.
    #5427 changed the `query()` signature, while #5463 added a call using the 
old signature. CI did not test these changes together before merging.
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    
    ### What is the Jira issue?
    
    ### How should this be tested?
    
    ### Screenshots (if appropriate)
    N/A
    
    ### Questions:
    * Does the license files need to update? N
    * Is there breaking changes for older versions? N
    * Does this needs documentation? N
    
    
    Closes #5477 from seung-00/fix-CI-NotebookServiceTest.
    
    Signed-off-by: ChanHo Lee <[email protected]>
---
 .../src/test/java/org/apache/zeppelin/service/NotebookServiceTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zeppelin-server/src/test/java/org/apache/zeppelin/service/NotebookServiceTest.java
 
b/zeppelin-server/src/test/java/org/apache/zeppelin/service/NotebookServiceTest.java
index e5d6407b0f..1fb67977bc 100644
--- 
a/zeppelin-server/src/test/java/org/apache/zeppelin/service/NotebookServiceTest.java
+++ 
b/zeppelin-server/src/test/java/org/apache/zeppelin/service/NotebookServiceTest.java
@@ -616,7 +616,7 @@ class NotebookServiceTest {
     }
     // The queue may be empty while its worker is finishing the current event.
     Thread.sleep(100);
-    List<Map<String, String>> searchResults = 
searchService.query(serviceSearchToken);
+    List<Map<String, String>> searchResults = 
searchService.query(serviceSearchToken, id -> true);
     assertTrue(searchResults.stream().anyMatch(result ->
         result.get("id").startsWith(note1Id)));
 

Reply via email to