summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2016-11-09 21:07:04 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2016-11-23 11:11:43 +0000
commit1776e2031c6a0211d76f6eeeb866f23d611579c4 (patch)
tree99a9621624dd51e27861542356986d35189e8e70
parent2b2562f7f7acccd14cd19479ecf2ef9f10cdff62 (diff)
downloadtest-definitions-pipe-1776e2031c6a0211d76f6eeeb866f23d611579c4.tar.gz
manual: enterprise: added bigdata spark sparkpi test
Change-Id: I662f86e453707937ef9b7f5310ab72f86a186881 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org> Signed-off-by: Ganesh Raju <ganesh.raju@linaro.org>
-rw-r--r--manual/enterprise/bigdata-spark-sparkpi.yaml37
1 files changed, 37 insertions, 0 deletions
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."