From 1776e2031c6a0211d76f6eeeb866f23d611579c4 Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Wed, 9 Nov 2016 21:07:04 +0000 Subject: manual: enterprise: added bigdata spark sparkpi test Change-Id: I662f86e453707937ef9b7f5310ab72f86a186881 Signed-off-by: Milosz Wasilewski Signed-off-by: Ganesh Raju --- manual/enterprise/bigdata-spark-sparkpi.yaml | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 manual/enterprise/bigdata-spark-sparkpi.yaml diff --git a/manual/enterprise/bigdata-spark-sparkpi.yaml b/manual/enterprise/bigdata-spark-sparkpi.yaml new file mode 100644 index 0000000..3a10cb2 --- /dev/null +++ b/manual/enterprise/bigdata-spark-sparkpi.yaml @@ -0,0 +1,37 @@ +metadata: + name: sparkpi + format: "Manual Test Definition 1.0" + description: "Functional tests of Spark - sparkpi" + maintainer: + - milosz.wasilewski@linaro.org + - ganesh.raju@linaro.org + os: + - centos + - debian + scope: + - functional + devices: + - d02 + - d03 + - d05 + - overdrive + - moonshot + environment: + - manual-test + +run: + steps: + - "Make sure OpenJDK8 is installed by typing: + $ java -version + NOTE: If this step fails, then fail the test" + - "Follow the steps of Installation from wiki 'https://wiki.linaro.org/LEG/Engineering/BigData/Installing_Hadoop_2_7_2_Spark_2_0_Hive_2_1_0'" + - "Verify apache spark installation by testing spark shell. By typing: + $ SPARK_HOME/bin/spark-shell --master local[*]" + - "Run sparkpi example workload. By typing: + $ SPARK_HOME/bin/run-example SparkPi 100" + - "Run the following command to quit from spark-shell + $ exit() " + expected: + - "'$ java --version' should display OpenJDK8 as JDK version" + - "'Verify apache spark installation' step should create a new Spark shell session successfully." + - "'Run sparkpi example' step should start a job and complete without error. The job output should list the estimate value of pi to the number of characters specified." -- cgit v1.2.3