MINOR: Assert ExecutionException details in testCreatePartitions
Due to the accidental duplication of `case e: ExecutionException`,
the verification code was not actually running.
Reviewers: Rajini Sivaram David Arthur
@@ -740,7 +740,6 @@ class AdminClientIntegrationTest extends IntegrationTestHarness with Logging {
try {
altered = alterResult.values.get(topic2).get
} catch {
- case e: ExecutionException =>
case e: ExecutionException =>
assertTrue(e.getCause.isInstanceOf[InvalidPartitionsException])
assertEquals("Topic currently has 3 partitions, which is higher than the requested 2.", e.getCause.getMessage)
