> On July 22, 2015, 10:29 a.m., Ismael Juma wrote: > > core/src/test/scala/unit/kafka/admin/DeleteTopicTest.scala, line 269 > > <https://reviews.apache.org/r/36670/diff/1/?file=1018343#file1018343line269> > > > > Should `verifyTopicDeletion` be inside `finally`? I don't think so > > because you don't want to run it if `fail` is called above. You could move > > it to be in the `e: TopicAlreadyMarkedForDeletionException` clause maybe?
Just removing the finally block and having it after the catch should work fine too. - Grant ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36670/#review92571 ----------------------------------------------------------- On July 22, 2015, 1:46 a.m., Edward Ribeiro wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36670/ > ----------------------------------------------------------- > > (Updated July 22, 2015, 1:46 a.m.) > > > Review request for kafka. > > > Bugs: KAFKA-2355 > https://issues.apache.org/jira/browse/KAFKA-2355 > > > Repository: kafka > > > Description > ------- > > KAFKA-2355 Add an unit test to validate the deletion of a partition marked as > deleted > > > Diffs > ----- > > core/src/test/scala/unit/kafka/admin/DeleteTopicTest.scala > fa8ce259a2832ab86f9dda8c1d409b2c42d43ae9 > > Diff: https://reviews.apache.org/r/36670/diff/ > > > Testing > ------- > > > Thanks, > > Edward Ribeiro > >