From ba5b655eced47b06deb50669c496acde38596d3d Mon Sep 17 00:00:00 2001 From: Tomasz Pietruszkiewicz Date: Tue, 30 Mar 2021 10:23:47 +0200 Subject: Fix unstable test Change-Id: Ie77e5f64a6c4ca9c21300da1eef19ad5d9f5c393 Issue-ID: DCAEGEN2-2696 Signed-off-by: Tomasz Pietruszkiewicz (cherry picked from commit 55691255dae0e3aef85810baf5a86c0f4e96d016) --- .../org/onap/dcae/collectors/veshv/config/impl/test_constants.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/hv-collector-configuration/src/test/kotlin/org/onap/dcae/collectors/veshv/config/impl/test_constants.kt b/sources/hv-collector-configuration/src/test/kotlin/org/onap/dcae/collectors/veshv/config/impl/test_constants.kt index d2b56b66..3e982a10 100644 --- a/sources/hv-collector-configuration/src/test/kotlin/org/onap/dcae/collectors/veshv/config/impl/test_constants.kt +++ b/sources/hv-collector-configuration/src/test/kotlin/org/onap/dcae/collectors/veshv/config/impl/test_constants.kt @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * dcaegen2-collectors-veshv * ================================================================================ - * Copyright (C) 2019 NOKIA + * Copyright (C) 2019-2021 NOKIA * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,5 +59,5 @@ internal val mdc = { mapOf("mdc_key" to "mdc_value") } internal fun retry(iterationCount: Long = 1) = Retry .onlyIf { it.iteration() <= iterationCount } - .fixedBackoff(Duration.ofNanos(1)) + .fixedBackoff(Duration.ofMillis(10)) -- cgit 1.2.3-korg