mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: before_start
This commit is contained in:
parent
1f345aea1f
commit
7f5abfdf43
3 changed files with 4 additions and 5 deletions
|
|
@ -120,6 +120,8 @@ before_script:
|
|||
- echo "export SPARK_HOME=`pwd`/spark-$SPARK_VER-bin-hadoop$HADOOP_VER" > conf/zeppelin-env.sh
|
||||
- echo "export ZEPPELIN_HELIUM_REGISTRY=helium" >> conf/zeppelin-env.sh
|
||||
- tail conf/zeppelin-env.sh
|
||||
- export DISPLAY=:99.0 # required to execute e2e tests in chrome
|
||||
- sh -e /etc/init.d/xvfb start # required to execute e2e tests in chrome
|
||||
|
||||
script:
|
||||
- if [[ -n $TEST_MODULES ]]; then export MODULES=$TEST_MODULES; fi
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
"dev:watch": "grunt watch-webpack-dev",
|
||||
"dev": "npm-run-all --parallel dev:server lint:watch dev:watch",
|
||||
"test:watch": "karma start karma.conf.js --single-run=false",
|
||||
"pree2e": "webdriver-manager update --gecko false --versions.chrome 2.24",
|
||||
"pree2e": "webdriver-manager update --gecko false",
|
||||
"e2e": "protractor protractor.conf.js",
|
||||
"pretest": "npm rebuild phantomjs-prebuilt",
|
||||
"test": "karma start karma.conf.js"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
exports.config = {
|
||||
baseUrl: 'http://localhost:8080/',
|
||||
directConnect: true,
|
||||
chromeOnly: true,
|
||||
// chromeOnly: true,
|
||||
capabilities: {
|
||||
browserName: 'chrome',
|
||||
chromeOptions: {
|
||||
args: ["--headless", 'no-sandbox', "--disable-gpu", "--window-size=800x600"]
|
||||
}
|
||||
},
|
||||
allScriptsTimeout: 110000,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue