Fix unstable test 69/120669/1 honolulu
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Tue, 30 Mar 2021 08:23:47 +0000 (10:23 +0200)
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>
Tue, 20 Apr 2021 12:24:29 +0000 (12:24 +0000)
Change-Id: Ie77e5f64a6c4ca9c21300da1eef19ad5d9f5c393
Issue-ID: DCAEGEN2-2696
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
(cherry picked from commit 55691255dae0e3aef85810baf5a86c0f4e96d016)

sources/hv-collector-configuration/src/test/kotlin/org/onap/dcae/collectors/veshv/config/impl/test_constants.kt

index d2b56b6..3e982a1 100644 (file)
@@ -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<Any> { it.iteration() <= iterationCount }
-        .fixedBackoff(Duration.ofNanos(1))
+        .fixedBackoff(Duration.ofMillis(10))