More JVM memory for Gradle
* Fix race condition in the `KafkaOutboundAdapterParserTests`
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
version=5.5.0-SNAPSHOT
|
||||
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
|
||||
org.gradle.jvmargs=-Xms512m -Xmx4g -XX:MaxPermSize=1024m -XX:MaxMetaspaceSize=1g -Dkotlin.daemon.jvm.options="-Xmx1g" -Dfile.encoding=UTF-8
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
kotlin.stdlib.default.dependency=false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2020 the original author or authors.
|
||||
* Copyright 2013-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -101,7 +101,7 @@ class KafkaOutboundAdapterParserTests {
|
||||
@Test
|
||||
void testSyncMode() {
|
||||
MockProducer<Integer, String> mockProducer =
|
||||
new MockProducer<Integer, String>(false, new IntegerSerializer(), new StringSerializer()) {
|
||||
new MockProducer<>(false, new IntegerSerializer(), new StringSerializer()) {
|
||||
|
||||
@Override
|
||||
public void close(Duration timeout) {
|
||||
@@ -121,7 +121,7 @@ class KafkaOutboundAdapterParserTests {
|
||||
handler.afterPropertiesSet();
|
||||
|
||||
handler.setSync(true);
|
||||
handler.setSendTimeout(10);
|
||||
handler.setSendTimeout(10_000);
|
||||
handler.setTimeoutBuffer(200);
|
||||
handler.setTopicExpression(new LiteralExpression("foo"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user