From 63549ec6f862232dd3898b7a6dee929eb7584e6b Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 25 May 2016 14:44:56 -0700 Subject: [PATCH] Update usage of es.staging.plugins sysprop to pass build hash --- dev-tools/smoke_test_rc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/smoke_test_rc.py b/dev-tools/smoke_test_rc.py index 32269e319bb..259081ddc10 100644 --- a/dev-tools/smoke_test_rc.py +++ b/dev-tools/smoke_test_rc.py @@ -191,7 +191,7 @@ def smoke_test_release(release, files, expected_hash, plugins): plugin_names = {} for plugin in plugins: print(' Install plugin [%s]' % (plugin)) - run('%s; export ES_JAVA_OPTS="-Des.plugins.staging=true"; %s %s %s' % (java_exe(), es_plugin_path, 'install -b', plugin)) + run('%s; export ES_JAVA_OPTS="-Des.plugins.staging=%s"; %s %s %s' % (java_exe(), expected_hash, es_plugin_path, 'install -b', plugin)) plugin_names[plugin] = True if 'x-pack' in plugin_names: headers = { 'Authorization' : 'Basic %s' % base64.b64encode(b"es_admin:foobar").decode("UTF-8") }