GH-215: Fix quick-tour.adoc sample obsolete code

Fixes GH-215 (https://github.com/spring-projects/spring-kafka/issues/215)

**Cherry-pick to 1.0.x**
This commit is contained in:
Artem Bilan
2016-12-13 10:54:33 -05:00
committed by Gary Russell
parent 2ec31fa103
commit bc4eaa2b01

View File

@@ -131,8 +131,8 @@ private KafkaTemplate<Integer, String> template;
@Test
public void testSimple() throws Exception {
waitListening("foo");
template.send("annotated1", 0, "foo");
template.flush();
assertTrue(this.listener.latch1.await(10, TimeUnit.SECONDS));
}