Skip to content
Snippets Groups Projects
Commit 036fb515 authored by Marin Karamihalev's avatar Marin Karamihalev
Browse files

minor changes testing usp-ctfw double connection bug

parent ee8dceab
Branches
Tags
No related merge requests found
Pipeline #52085 failed
...@@ -33,13 +33,14 @@ class AsyncClient { ...@@ -33,13 +33,14 @@ class AsyncClient {
host = "localhost", host = "localhost",
port = 9001, port = 9001,
user = "admin", user = "admin",
password = "admin" password = "admin",
clientId = "proto::interop-usp-controller"
) { ) {
this.client = new Paho.Client( this.client = new Paho.Client(
host, host,
port, port,
"/mqtt", "/mqtt",
"proto::interop-usp-controller" clientId
); );
const opts = { const opts = {
userName: user, userName: user,
......
...@@ -21,7 +21,8 @@ const connectClient = async ( ...@@ -21,7 +21,8 @@ const connectClient = async (
(options as HostConnectionOptions).host, (options as HostConnectionOptions).host,
(options as HostConnectionOptions).port, (options as HostConnectionOptions).port,
options.username, options.username,
options.password options.password,
options.fromId || "proto::interop-usp-controller"
); );
const loadProtobuf = async (): Promise<Proto> => { const loadProtobuf = async (): Promise<Proto> => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment