You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2021/01/17 01:50:45 UTC

[zeppelin] 02/02: [hotfix] Fix test failure of SparqlJenaEngineTest

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

zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git

commit 9bfe7cbfb86381d760e4973f63bb626b1571ed6d
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Sun Jan 17 09:49:49 2021 +0800

    [hotfix] Fix test failure of SparqlJenaEngineTest
---
 .../src/test/java/org/apache/zeppelin/sparql/SparqlJenaEngineTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sparql/src/test/java/org/apache/zeppelin/sparql/SparqlJenaEngineTest.java b/sparql/src/test/java/org/apache/zeppelin/sparql/SparqlJenaEngineTest.java
index 5a85998..3e46398 100644
--- a/sparql/src/test/java/org/apache/zeppelin/sparql/SparqlJenaEngineTest.java
+++ b/sparql/src/test/java/org/apache/zeppelin/sparql/SparqlJenaEngineTest.java
@@ -172,7 +172,7 @@ public class SparqlJenaEngineTest {
     final InterpreterResult result = interpreter.interpret(query, null);
     assertEquals(Code.SUCCESS, result.code());
 
-    final String expected = "?athlete\n<http://dbpedia.org/resource/Cristiano_Ronaldo>\n";
+    final String expected = "?athlete\n<http://dbpedia.org/resource/Category:git Cristiano_Ronaldo>\n";
     assertEquals(expected, result.message().get(0).getData());
   }