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:
[email protected]
With regards,
Apache Git Services