From bc4eaa2b01ba6a25c20ec73283aa182131808203 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Tue, 13 Dec 2016 10:54:33 -0500 Subject: [PATCH] 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** --- src/reference/asciidoc/quick-tour.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/asciidoc/quick-tour.adoc b/src/reference/asciidoc/quick-tour.adoc index d8e80d70..e225854b 100644 --- a/src/reference/asciidoc/quick-tour.adoc +++ b/src/reference/asciidoc/quick-tour.adoc @@ -131,8 +131,8 @@ private KafkaTemplate template; @Test public void testSimple() throws Exception { - waitListening("foo"); template.send("annotated1", 0, "foo"); + template.flush(); assertTrue(this.listener.latch1.await(10, TimeUnit.SECONDS)); }