[
https://issues.apache.org/jira/browse/RYA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472611#comment-16472611
]
ASF GitHub Bot commented on RYA-494:
------------------------------------
Github user kchilton2 commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/295#discussion_r187725947
--- Diff:
extras/shell/src/test/java/org/apache/rya/shell/AccumuloRyaCommandsIT.java ---
@@ -0,0 +1,91 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.rya.shell;
+
+import static org.junit.Assert.assertTrue;
+import static org.mockito.Mockito.when;
+
+import org.apache.accumulo.minicluster.MiniAccumuloCluster;
+import org.apache.rya.api.client.Install.InstallConfiguration;
+import org.apache.rya.shell.util.InstallPrompt;
+import org.apache.rya.shell.util.PasswordPrompt;
+import org.apache.rya.shell.util.SparqlPrompt;
+import org.junit.Test;
+import org.springframework.context.ApplicationContext;
+import org.springframework.shell.Bootstrap;
+import org.springframework.shell.core.CommandResult;
+import org.springframework.shell.core.JLineShellComponent;
+
+import com.google.common.base.Optional;
+
+/**
+ * Integration tests the methods of {@link RyaCommands}.
--- End diff --
Done.
> Shell insert and query bug.
> ---------------------------
>
> Key: RYA-494
> URL: https://issues.apache.org/jira/browse/RYA-494
> Project: Rya
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Kevin Chilton
> Assignee: Kevin Chilton
> Priority: Major
>
> Using the Rya Shell:
> # Connect to a cluster of Accumulo.
> # Install an instance of Rya that has all secondary indexers and the
> sharding turned off.
> # Connect to that instance of rya.
> # Load the following N-Triples file into it:
> ##
> {code:java}
> <urn:Alice> <urn:talksTo> <urn:Bob>.
> <urn:Bob> <urn:talksTo> <urn:Alice>.
> <urn:Bob> <urn:talksTo> <urn:Charlie>.
> <urn:Charlie> <urn:talksTo> <urn:Alice>.
> <urn:David> <urn:talksTo> <urn:Eve>.
> <urn:Eve> <urn:listensTo> <urn:Bob>.{code}
> # Query for all statements using the following query:
> ## select * where \{ ?s ?p ?o .}
> You will see the following results:
> {code:java}
> p,s,o
> urn:talksTo,urn:Alice,urn:Bob
> urn:talksTo,urn:Bob,urn:Charlie
> urn:talksTo,urn:Charlie,urn:Alice
> urn:talksTo,urn:David,urn:Eve
> urn:listensTo,urn:Eve,urn:Bob
> urn:org.apache.rya/2012/05#version,urn:org.apache.rya/2012/05#rts,"3.0.0"{code}
> The following statement is missing:
> {code:java}
> <urn:Bob> <urn:talksTo> <urn:Alice>.{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)