X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=sources%2Fhv-collector-dcae-app-simulator%2Fsrc%2Ftest%2Fkotlin%2Forg%2Fonap%2Fdcae%2Fcollectors%2Fveshv%2Fsimulators%2Fdcaeapp%2Fimpl%2FConsumerTest.kt;fp=sources%2Fhv-collector-dcae-app-simulator%2Fsrc%2Ftest%2Fkotlin%2Forg%2Fonap%2Fdcae%2Fcollectors%2Fveshv%2Fsimulators%2Fdcaeapp%2Fimpl%2FConsumerTest.kt;h=e8ac6cd5c83c44a72955cf08cc4630213aade1de;hb=75b95caba1ec7e126683be1df5928a380174d428;hp=08558d769218d5a05b0ea4f3c9a748b0cc3e20a9;hpb=58ae1a831a6fe85abda8c4d866e5170c70499ac1;p=dcaegen2%2Fcollectors%2Fhv-ves.git diff --git a/sources/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/ConsumerTest.kt b/sources/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/ConsumerTest.kt index 08558d76..e8ac6cd5 100644 --- a/sources/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/ConsumerTest.kt +++ b/sources/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/impl/ConsumerTest.kt @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * dcaegen2-collectors-veshv * ================================================================================ - * Copyright (C) 2018 NOKIA + * Copyright (C) 2018-2019 NOKIA * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -52,7 +52,7 @@ internal class ConsumerTest : Spek({ topic = "topic", key = byteArrayOf(1), value = value - )).unsafeRunSync() + )) } it("should contain one message if it was updated once") { @@ -60,7 +60,7 @@ internal class ConsumerTest : Spek({ } it("should contain empty state message if it was reset after update") { - cut.reset().unsafeRunSync() + cut.reset() assertEmptyState(cut) } }