aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/sanityTests_3_sanity_execution.rb
blob: 53482a7dd72f1b6e99def79bd2a12c631f6e91ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
tests_base="/var/lib/tests"
ci_test_suite="onap.xml"

bash "run asdc ci sanity tests" do
cwd "#{tests_base}"
code <<-EOH
   cd "#{tests_base}"
   jar_file=`ls test-apis*-jar-with-dependencies.jar`
   ./startTest.sh $jar_file #{ci_test_suite} > #{tests_base}/target/startTest.log 2>&1
   echo "return code from startTest.sh = [$?]"
EOH
timeout 72000
end