Change buffer/list type to ArrayList as String
Change-Id: Iaa637a5a93991ae9a3ffc1eeee6cbc06f63eaef0
diff --git a/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy b/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
index f26eb5a..5d97b82 100644
--- a/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
@@ -580,7 +580,8 @@
def tests = readYaml text: testTargets
println("** [DEBUG]: tests=$tests")
- String buffer = []
+ // Display expected tests for times when output goes dark
+ ArrayList buffer = [] as String
tests.eachWithIndex { test, idx ->
String target = test['target']
println(" ** Build test index [$idx]: target=$target")
@@ -589,7 +590,8 @@
}
println("** Testing index: tests-to-run")
- println(buffer)
+ println(buffer.join(''))
+
println('''
** -----------------------------------------------------------------------
** NOTE: For odd/silent job failures verify a few details
@@ -598,7 +600,8 @@
** - Processing terminated prematurely when LEAVE strings are missing.
** -----------------------------------------------------------------------
''')
- tests.eachWithIndex { test, idx ->
+
+ tests.eachWithIndex { test, idx ->
println "** readYaml test suite[$idx]) test=[${test}]"
String target = test['target']