Bläddra i källkod

Fix smoke test RC plugin installation

This commit fixes the smoke test RC plugin installation command to set
the es.plugins.staging system properly correctly.
Jason Tedor 9 år sedan
förälder
incheckning
e7243ed83d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      dev-tools/smoke_test_rc.py

+ 1 - 1
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; %s -Des.plugins.staging=true %s %s' % (java_exe(), es_plugin_path, 'install -b', plugin))
+      run('%s; export ES_JAVA_OPTS="-Des.plugins.staging=true"; %s %s %s' % (java_exe(), 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") }