@nsshunt/ststestrunner 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11965,19 +11965,24 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
11965
11965
|
});
|
|
11966
11966
|
__publicField2(this, "WaitForSocketConnected", async () => {
|
|
11967
11967
|
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection [Start]`));
|
|
11968
|
-
|
|
11969
|
-
|
|
11968
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Attempting to get socket`));
|
|
11969
|
+
const socket = __privateGet$1(this, _socketUtils).GetSocket(__privateGet$1(this, _options2).socketClientName);
|
|
11970
|
+
if (socket) {
|
|
11971
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Socket obtained`));
|
|
11972
|
+
} else {
|
|
11973
|
+
console.log(chalk.gray(`WaitForSocketConnected(): No socket obtained yet ...`));
|
|
11970
11974
|
}
|
|
11971
11975
|
let connected = false;
|
|
11972
11976
|
while (!connected) {
|
|
11973
11977
|
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection ...`));
|
|
11974
|
-
const socketRetVal = this.
|
|
11978
|
+
const socketRetVal = __privateGet$1(this, _socketUtils).GetSocket(__privateGet$1(this, _options2).socketClientName);
|
|
11975
11979
|
if (socketRetVal && socketRetVal.connected === true) {
|
|
11976
11980
|
connected = true;
|
|
11977
11981
|
break;
|
|
11978
11982
|
}
|
|
11979
11983
|
await stsutils.Sleep(100);
|
|
11980
11984
|
}
|
|
11985
|
+
console.log(chalk.gray(`WaitForSocketConnected(): Waiting for socket connection [End]`));
|
|
11981
11986
|
});
|
|
11982
11987
|
__publicField2(this, "CreateResource", async (resource, domainResource) => {
|
|
11983
11988
|
await this.WaitForSocketConnected();
|