Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/kafka/manager/KafkaCommandActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class KafkaCommandActor(kafkaCommandActorConfig: KafkaCommandActorConfig) extend
Future {
KCCommandResult(Try {
kafkaCommandActorConfig.adminUtils.deleteTopic(kafkaCommandActorConfig.curator, topic) //this should work in 0.8.2
kafkaCommandActorConfig.curator.delete().deletingChildrenIfNeeded().forPath(ZkUtils.getTopicPath(topic))
})
}
}
Expand Down
4 changes: 0 additions & 4 deletions test/kafka/manager/TestClusterManagerActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ class TestClusterManagerActor extends CuratorAwareTest {
cmResult.result.get
}
}
Thread.sleep(3000)
withClusterManagerActor(KSGetTopics) { result: TopicList =>
assert(!result.list.contains(createTopicName),"Failed to delete topic")
}
}

test("create logkafka") {
Expand Down