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:09 UTC

[zeppelin] branch master updated: [hotfix] Fix test failure of SparqlJenaEngineTest

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

zjffdu 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 e273e35  [hotfix] Fix test failure of SparqlJenaEngineTest
e273e35 is described below

commit e273e35df52ced4fc3fc3e92c9cec78f96f7b79d
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());
   }