Fix unstable test 03/120003/4 1.7.0
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Tue, 30 Mar 2021 08:23:47 +0000 (10:23 +0200)
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Tue, 30 Mar 2021 11:24:24 +0000 (13:24 +0200)
Change-Id: Ie77e5f64a6c4ca9c21300da1eef19ad5d9f5c393
Issue-ID: DCAEGEN2-2696
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
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))