You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Ken Howe <kh...@pivotal.io> on 2017/03/01 21:59:29 UTC

Review Request 57221: GEODE-2541: Fixed ClassCastException failure

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57221/
-----------------------------------------------------------

Review request for geode, Jinmei Liao, Jared Stewart, Kevin Duling, and Kirk Lund.


Repository: geode


Description
-------

Fixed in HeadlessGfsh, and added new test for handling a command response
that's not a CommandResult object

Refactored HeadlessGfshIntegrationTest: removed wildcard imports and extracted common test setup code


Diffs
-----

  geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java 72be0c7fa6839ff7f818cffa4ee5b436bebd2ce8 
  geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java 2ea8d9947948810b8e69df83d3a6cf59038d901d 


Diff: https://reviews.apache.org/r/57221/diff/1/


Testing
-------

Ran spotlessApply
Precheckin is in progress


Thanks,

Ken Howe


Re: Review Request 57221: GEODE-2541: Fixed ClassCastException failure

Posted by Jared Stewart <js...@pivotal.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57221/#review167585
-----------------------------------------------------------




geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java
Lines 121 (patched)
<https://reviews.apache.org/r/57221/#comment239489>

    I think this cleanup can be moved to an @After method as it happens at the end of each test:
     ```
      gfsh.terminate();
        cache.close();
        ds.disconnect();
    ```


- Jared Stewart


On March 1, 2017, 9:59 p.m., Ken Howe wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57221/
> -----------------------------------------------------------
> 
> (Updated March 1, 2017, 9:59 p.m.)
> 
> 
> Review request for geode, Jinmei Liao, Jared Stewart, Kevin Duling, and Kirk Lund.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> Fixed in HeadlessGfsh, and added new test for handling a command response
> that's not a CommandResult object
> 
> Refactored HeadlessGfshIntegrationTest: removed wildcard imports and extracted common test setup code
> 
> 
> Diffs
> -----
> 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java 72be0c7fa6839ff7f818cffa4ee5b436bebd2ce8 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java 2ea8d9947948810b8e69df83d3a6cf59038d901d 
> 
> 
> Diff: https://reviews.apache.org/r/57221/diff/1/
> 
> 
> Testing
> -------
> 
> Ran spotlessApply
> Precheckin is in progress
> 
> 
> Thanks,
> 
> Ken Howe
> 
>


Re: Review Request 57221: GEODE-2541: Fixed ClassCastException failure

Posted by Jared Stewart <js...@pivotal.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57221/#review167611
-----------------------------------------------------------


Ship it!




Ship It!

- Jared Stewart


On March 1, 2017, 10:25 p.m., Ken Howe wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57221/
> -----------------------------------------------------------
> 
> (Updated March 1, 2017, 10:25 p.m.)
> 
> 
> Review request for geode, Jinmei Liao, Jared Stewart, Kevin Duling, and Kirk Lund.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> Fixed in HeadlessGfsh, and added new test for handling a command response
> that's not a CommandResult object
> 
> Refactored HeadlessGfshIntegrationTest: removed wildcard imports and extracted common test setup code
> 
> 
> Diffs
> -----
> 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java 72be0c7 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java 2ea8d99 
> 
> 
> Diff: https://reviews.apache.org/r/57221/diff/2/
> 
> 
> Testing
> -------
> 
> Ran spotlessApply
> Precheckin is in progress
> 
> 
> Thanks,
> 
> Ken Howe
> 
>


Re: Review Request 57221: GEODE-2541: Fixed ClassCastException failure

Posted by Jinmei Liao <ji...@pivotal.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57221/#review167593
-----------------------------------------------------------


Ship it!




Ship It!

- Jinmei Liao


On March 1, 2017, 10:25 p.m., Ken Howe wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57221/
> -----------------------------------------------------------
> 
> (Updated March 1, 2017, 10:25 p.m.)
> 
> 
> Review request for geode, Jinmei Liao, Jared Stewart, Kevin Duling, and Kirk Lund.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> Fixed in HeadlessGfsh, and added new test for handling a command response
> that's not a CommandResult object
> 
> Refactored HeadlessGfshIntegrationTest: removed wildcard imports and extracted common test setup code
> 
> 
> Diffs
> -----
> 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java 72be0c7 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java 2ea8d99 
> 
> 
> Diff: https://reviews.apache.org/r/57221/diff/2/
> 
> 
> Testing
> -------
> 
> Ran spotlessApply
> Precheckin is in progress
> 
> 
> Thanks,
> 
> Ken Howe
> 
>


Re: Review Request 57221: GEODE-2541: Fixed ClassCastException failure

Posted by Kevin Duling <kd...@pivotal.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57221/#review167606
-----------------------------------------------------------


Ship it!




Ship It!

- Kevin Duling


On March 1, 2017, 2:25 p.m., Ken Howe wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57221/
> -----------------------------------------------------------
> 
> (Updated March 1, 2017, 2:25 p.m.)
> 
> 
> Review request for geode, Jinmei Liao, Jared Stewart, Kevin Duling, and Kirk Lund.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> Fixed in HeadlessGfsh, and added new test for handling a command response
> that's not a CommandResult object
> 
> Refactored HeadlessGfshIntegrationTest: removed wildcard imports and extracted common test setup code
> 
> 
> Diffs
> -----
> 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java 72be0c7 
>   geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java 2ea8d99 
> 
> 
> Diff: https://reviews.apache.org/r/57221/diff/2/
> 
> 
> Testing
> -------
> 
> Ran spotlessApply
> Precheckin is in progress
> 
> 
> Thanks,
> 
> Ken Howe
> 
>


Re: Review Request 57221: GEODE-2541: Fixed ClassCastException failure

Posted by Ken Howe <kh...@pivotal.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57221/
-----------------------------------------------------------

(Updated March 1, 2017, 10:25 p.m.)


Review request for geode, Jinmei Liao, Jared Stewart, Kevin Duling, and Kirk Lund.


Repository: geode


Description
-------

Fixed in HeadlessGfsh, and added new test for handling a command response
that's not a CommandResult object

Refactored HeadlessGfshIntegrationTest: removed wildcard imports and extracted common test setup code


Diffs (updated)
-----

  geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java 72be0c7 
  geode-core/src/test/java/org/apache/geode/management/internal/cli/HeadlessGfshIntegrationTest.java 2ea8d99 


Diff: https://reviews.apache.org/r/57221/diff/2/

Changes: https://reviews.apache.org/r/57221/diff/1-2/


Testing
-------

Ran spotlessApply
Precheckin is in progress


Thanks,

Ken Howe