apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DT-Priyanka <...@git.apache.org>
Subject [GitHub] incubator-apex-malhar pull request: APEXMALHAR-1982: CassandraInpu...
Date Tue, 02 Feb 2016 09:22:23 GMT
Github user DT-Priyanka commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-malhar/pull/175#discussion_r51542209
  
    --- Diff: contrib/src/test/java/com/datatorrent/contrib/cassandra/CassandraOperatorTest.java
---
    @@ -293,8 +293,8 @@ public void testCassandraInputOperator()
     
         TestInputOperator inputOperator = new TestInputOperator();
         inputOperator.setStore(store);
    -    inputOperator.setTablename(TABLE_NAME_INPUT);
         inputOperator.setQuery(query1);
    +    inputOperator.setTablename(TABLE_NAME_INPUT);
    --- End diff --
    
    Previously, query was dependent on "tableName" variable. As the order of setting variables
was tableName followed by query here the test case always passed. To simulate situation where
platform could set tablename after query (there is no guarantee in which order variables are
set) I did this change.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message