datagrok-tools 4.13.12 → 4.13.14
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/CHANGELOG.md +12 -0
- package/bin/commands/test.js +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Datagrok-tools changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 4.13.13 (2024-08-09)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Timeout update for test runs up to 1 hour
|
|
9
|
+
|
|
10
|
+
## 4.13.12 (2024-08-09)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* Added stress test flag
|
|
15
|
+
|
|
4
16
|
## 4.13.12 (2024-08-05)
|
|
5
17
|
|
|
6
18
|
### Features
|
package/bin/commands/test.js
CHANGED
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
24
24
|
|
|
25
25
|
function test(args) {
|
|
26
26
|
var options = Object.keys(args).slice(1);
|
|
27
|
-
var commandOptions = ['host', 'package', 'csv', 'gui', 'catchUnhandled', 'platform', 'core', 'report', 'skip-build', 'skip-publish', 'path', 'record', 'verbose', 'benchmark', 'category', 'test'];
|
|
27
|
+
var commandOptions = ['host', 'package', 'csv', 'gui', 'catchUnhandled', 'platform', 'core', 'report', 'skip-build', 'skip-publish', 'path', 'record', 'verbose', 'benchmark', 'category', 'test', 'stress-test'];
|
|
28
28
|
var nArgs = args['_'].length;
|
|
29
29
|
var curDir = process.cwd();
|
|
30
30
|
var grokDir = _path["default"].join(_os["default"].homedir(), '.grok');
|
|
@@ -199,6 +199,7 @@ function test(args) {
|
|
|
199
199
|
category: options.category,
|
|
200
200
|
test: options.test
|
|
201
201
|
};
|
|
202
|
+
if (options.stressTest) params.stressTest = options.stressTest;
|
|
202
203
|
if (options.path) {
|
|
203
204
|
var split = options.path.split(' -- ');
|
|
204
205
|
params.category = split[0];
|
|
@@ -314,7 +315,7 @@ function test(args) {
|
|
|
314
315
|
throw _context3.t0;
|
|
315
316
|
case 10:
|
|
316
317
|
_context3.next = 12;
|
|
317
|
-
return runTest(
|
|
318
|
+
return runTest(3600000, {
|
|
318
319
|
path: args.path,
|
|
319
320
|
verbose: args.verbose,
|
|
320
321
|
platform: args.platform,
|
|
@@ -324,7 +325,8 @@ function test(args) {
|
|
|
324
325
|
benchmark: args.benchmark,
|
|
325
326
|
core: args.core,
|
|
326
327
|
category: categoryToCheck,
|
|
327
|
-
test: testToCheck
|
|
328
|
+
test: testToCheck,
|
|
329
|
+
stressTest: args['stress-test']
|
|
328
330
|
});
|
|
329
331
|
case 12:
|
|
330
332
|
r = _context3.sent;
|
package/package.json
CHANGED