Github user satishd commented on a diff in the pull request:

    https://github.com/apache/storm/pull/915#discussion_r46751285
  
    --- Diff: 
external/storm-cassandra/src/test/java/org/apache/storm/cassandra/DynamicStatementBuilderTest.java
 ---
    @@ -116,15 +124,15 @@ private void 
executeStatementAndAssert(CQLStatementTupleMapper mapper, String...
             List<Statement> map = mapper.map(Maps.newHashMap(), 
cassandraCQLUnit.session, mockTuple);
     
             List<String> listExpected = Arrays.asList(expected);
    -        for( int i=0; i< map.size(); i++) {
    +        for (int i = 0; i < map.size(); i++) {
                 Assert.assertEquals(listExpected.get(i), 
map.get(i).toString());
             }
         }
     
         @Test
         public void shouldBuildStaticBoundStatement() {
    -        CQLStatementTupleMapper mapper = boundQuery("INSERT INTO 
weather.temperature(weatherstation_id, event_time, temperature) VALUES(?, ?, 
?)")
    -                .bind(with(field("weatherstation_id"), 
field("event_time").now(), field("temperature")));
    +        CQLStatementTupleMapper mapper = boundQuery("INSERT INTO 
weather.temperature(weather_station_id, event_time, temperature) VALUES(?, ?, 
?)")
    +                .bind(with(field("weather_station_id"), 
field("event_time").now(), field("temperature")));
    --- End diff --
    
    Cleaning up these test cases is part of another JIRA STORM-1348. The above 
changes are done as part of refactoring the cassandra table script.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to