testaro 71.0.1 → 71.0.3
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.
- package/netWatch.js +2 -2
- package/package.json +1 -1
package/netWatch.js
CHANGED
|
@@ -192,12 +192,12 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
|
|
|
192
192
|
console.log(
|
|
193
193
|
`ERROR: ${reportLogStart}status ${repResponse.statusCode}, error message ${error.message}, and response ${content.slice(0, 1000)}\n`
|
|
194
194
|
);
|
|
195
|
+
// Wait for the specified interval.
|
|
196
|
+
await wait(1000 * intervalInSeconds);
|
|
195
197
|
}
|
|
196
198
|
// Free the memory used by the job and the report.
|
|
197
199
|
contentObj = {};
|
|
198
200
|
responseJSON = '';
|
|
199
|
-
// Wait for the specified interval.
|
|
200
|
-
await wait(1000 * intervalInSeconds);
|
|
201
201
|
resolve(true);
|
|
202
202
|
});
|
|
203
203
|
})
|