mirror of https://github.com/apache/kafka.git
Fix value mistake
This commit is contained in:
parent
fe3df3c168
commit
f15d2ef460
|
@ -1005,7 +1005,7 @@ public class KafkaProducerTest {
|
||||||
@Test
|
@Test
|
||||||
public void testTopicNotExistingInMetadata() throws InterruptedException {
|
public void testTopicNotExistingInMetadata() throws InterruptedException {
|
||||||
Map<String, Object> configs = new HashMap<>();
|
Map<String, Object> configs = new HashMap<>();
|
||||||
final String maxBlockMs = "300000";
|
final String maxBlockMs = "30000";
|
||||||
configs.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9999");
|
configs.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9999");
|
||||||
configs.put(ProducerConfig.MAX_BLOCK_MS_CONFIG, maxBlockMs);
|
configs.put(ProducerConfig.MAX_BLOCK_MS_CONFIG, maxBlockMs);
|
||||||
long refreshBackoffMs = 500L;
|
long refreshBackoffMs = 500L;
|
||||||
|
|
Loading…
Reference in New Issue