You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2019/08/21 15:54:50 UTC
[GitHub] [storm] srdo commented on a change in pull request #3101:
STORM-1515: Fix LocalState Corruption
srdo commented on a change in pull request #3101: STORM-1515: Fix LocalState Corruption
URL: https://github.com/apache/storm/pull/3101#discussion_r316251993
##########
File path: storm-server/src/test/java/org/apache/storm/LocalStateTest.java
##########
@@ -66,6 +66,19 @@ public void testEmptyState() throws IOException {
Assert.assertNull(ls.get("c"));
ls.put("a", gs_a);
Assert.assertEquals(gs_a, ls.get("a"));
+ }
+ @Test
+ public void testAllNulState() throws IOException {
+ TmpPath tmp_dir = new TmpPath();
Review comment:
Please use try with resources
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services