Making test-containers to use random port

MQTT tests were using a fixed port, making them random.
This commit is contained in:
Soby Chacko
2020-05-19 17:56:23 -04:00
parent 91a9c862e9
commit 4fb20bd25e
5 changed files with 37 additions and 35 deletions

View File

@@ -24,8 +24,8 @@ import org.junit.jupiter.api.Test;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.fn.supplier.time.TimeSupplierProperties;
import org.springframework.cloud.fn.supplier.time.TimeSupplierConfiguration;
import org.springframework.cloud.fn.supplier.time.TimeSupplierProperties;
import org.springframework.cloud.stream.binder.test.OutputDestination;
import org.springframework.cloud.stream.binder.test.TestChannelBinderConfiguration;
import org.springframework.context.ConfigurableApplicationContext;