File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
framework/Magento/TestFramework/Helper Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class Amqp
1616 const CONFIG_PATH_HOST = 'queue/amqp/host ' ;
1717 const CONFIG_PATH_USER = 'queue/amqp/user ' ;
1818 const CONFIG_PATH_PASSWORD = 'queue/amqp/password ' ;
19+ const DEFAULT_MANAGEMENT_PROTOCOL = 'http ' ;
1920 const DEFAULT_MANAGEMENT_PORT = '15672 ' ;
2021
2122 /**
@@ -51,7 +52,10 @@ public function __construct(
5152 );
5253 $ this ->curl ->addHeader ('content-type ' , 'application/json ' );
5354 $ this ->host = sprintf (
54- 'http://%s:%s/api/ ' ,
55+ '%s://%s:%s/api/ ' ,
56+ defined ('RABBITMQ_MANAGEMENT_PROTOCOL ' )
57+ ? RABBITMQ_MANAGEMENT_PROTOCOL
58+ : self ::DEFAULT_MANAGEMENT_PROTOCOL ,
5559 $ this ->deploymentConfig ->get (self ::CONFIG_PATH_HOST ),
5660 defined ('RABBITMQ_MANAGEMENT_PORT ' ) ? RABBITMQ_MANAGEMENT_PORT : self ::DEFAULT_MANAGEMENT_PORT
5761 );
Original file line number Diff line number Diff line change 8080 <!-- <const name="MONGODB_CONNECTION_STRING" value="mongodb://localhost:27017"/>-->
8181 <!-- <const name="MONGODB_DATABASE_NAME" value="magento_integration_tests"/>-->
8282 <!-- Connection parameters for RabbitMQ tests -->
83+ <!-- <const name="RABBITMQ_MANAGEMENT_PROTOCOL" value="https"/>-->
8384 <!-- <const name="RABBITMQ_MANAGEMENT_PORT" value="15672"/>-->
8485 <!-- <const name="TESTS_PARALLEL_RUN" value="1"/>-->
8586 <const name =" USE_OVERRIDE_CONFIG" value =" enabled" />
You can’t perform that action at this time.
0 commit comments