increasing timeout in voltha-2.x tests and cleaning node
Change-Id: If5ee9e0ffe54354ed4f24764df7e02d13b54f6db
diff --git a/jjb/pipeline/voltha-bbsim-tests.groovy b/jjb/pipeline/voltha-bbsim-tests.groovy
index 93b51f8..9d49b27 100644
--- a/jjb/pipeline/voltha-bbsim-tests.groovy
+++ b/jjb/pipeline/voltha-bbsim-tests.groovy
@@ -23,7 +23,7 @@
label "${params.executorNode}"
}
options {
- timeout(time: 60, unit: 'MINUTES')
+ timeout(time: 120, unit: 'MINUTES')
}
stages {
@@ -160,6 +160,10 @@
kubectl logs \$pod -n voltha > $WORKSPACE/\$pod.log;
fi
done
+ ## clean up node
+ ./voltha down
+ cd $WORKSPACE/
+ rm -rf kind-voltha/ voltha-system-tests/ || true
'''
step([$class: 'RobotPublisher',
disableArchiveOutput: false,