Skip to content

Commit

Permalink
[TESTS] Made the Spark package name configurable in test_rpc_auth() (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
susanxhuynh authored Jan 11, 2018
1 parent feecd5f commit f217b59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def test_jar(app_name=utils.SPARK_APP_NAME):
def test_rpc_auth():
secret_name = "sparkauth"

rc, stdout, stderr = sdk_cmd.run_raw_cli("spark secret /{}".format(secret_name))
rc, stdout, stderr = sdk_cmd.run_raw_cli("{pkg} secret /{secret}".format(
pkg=utils.SPARK_PACKAGE_NAME, secret=secret_name))
assert rc == 0, "Failed to generate Spark auth secret, stderr {err} stdout {out}".format(err=stderr, out=stdout)

args = ["--conf", "spark.mesos.containerizer=mesos",
Expand Down

0 comments on commit f217b59

Please sign in to comment.