diff options
author | kjaniak <kornel.janiak@nokia.com> | 2018-09-06 10:07:17 +0200 |
---|---|---|
committer | kjaniak <kornel.janiak@nokia.com> | 2018-09-10 09:22:56 +0200 |
commit | 2f790c15ba5cd5a20207edffbbee1e325b46f07d (patch) | |
tree | cab8917b6bfaae5d0c686590c16fc9c32241028d /hv-collector-dcae-app-simulator | |
parent | b20f963b6bafa0a0a5acfac3f2c802e5539b5068 (diff) |
Enable env parameters read
Disabling require option on mandatory parameters
to fetch them from env variables.
Change-Id: I007dea1a7f369a04479801aa508cf1034ac1341a
Issue-ID: DCAEGEN2-741
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Diffstat (limited to 'hv-collector-dcae-app-simulator')
-rw-r--r-- | hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/config/ArgDcaeAppSimConfigurationTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/config/ArgDcaeAppSimConfigurationTest.kt b/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/config/ArgDcaeAppSimConfigurationTest.kt index e7a22fcf..7137fe12 100644 --- a/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/config/ArgDcaeAppSimConfigurationTest.kt +++ b/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/config/ArgDcaeAppSimConfigurationTest.kt @@ -115,7 +115,7 @@ internal class ArgDcaeAppSimConfigurationTest : Spek({ given("listen port is missing") { it("should throw exception") { assertThat(cut.parseExpectingFailure( - "-p", kafkaTopics, + "-p", listenPort, "-s", kafkaBootstrapServers )).isInstanceOf(WrongArgumentError::class.java) } |